High court disregards amendment of legislation that is at odds with directive