Supreme Court rules for the employer