We've all seen those signs that say "No shirt, No Shoes, No Service" in front of establishments. To a more extreme degree, we've also all been teenagers going into a convenience store with our backpacks after class who were told to "get out before you steal something!"
When stores and restaurants enforce biased rules that aren't aligned with sanctioned regulations, it can be difficult to see what the point of them is. On one hand, the people who own stores should in theory be able to decide who is allowed in their place of business and who is not.
On the other, the line between reasonable regulation and problematic ones is very thin, and easy to cross.