If they are licensed to serve the public, they can't very well keep the public out.
They tried that to maintain segregation. Didn't fly.
They most certainly can if the public doesn't comply with their policies so long as those policies aren't based on race, religion, gender, etc.