This court decision has major implications for employees in public-facing workplaces, including retail, hospitality and health.