That’s so weird to read, in Western Europe you just ask someone working there for a code to open the door and can use Starbucks bathrooms freely (or you get it printed on your bill if you bought something). In some countries you have a small fee to pay if you’re not consuming anything, for example 0.5€ is common in Germany.
I couldn’t really imagine to not have access to bathrooms, it’s such a critical thing.