One space is public and one is private. One space is optional/avoidable and one isn't. How could this be easier to understand?
Even if it's a publicly-funded establishment such as, say, a municipal swimming pool, the conscious choice to enter into such a place versus walking through an open street aren't comparable.