Not just dress codes. Food preferences.
I prefer fried potatoes.
You prefer mashed potatoes.
Can I refuse to serve mashed potatoes to you? Can I discriminate against you (you?) based on your food preferences?
“Can I refuse to serve mashed potatoes to you? “
Yes by not offering them on the menu.
Next question.
If it’s a religious preference, apparently so ... :-) ...
Maybe they just “religiously” adhere to certain foods! This whole thing is a “can of worms” for our society!