A better analogy would be a legally protected right to show up to work dressed in street clothes, your boss imposes an illegal requirement to wear a specific uniform, and then attempts to charge you if you show up without one.