Court rules employers must provide footwear