Don't the public restrooms take coins there?
See also, subway stations in Japan, which IIRC operate under a similar model.
Free transit is a terrible idea because e.g. it means tourists don't contribute and anyone who passes a tax cut will have defunded it without the actual users being able to help.
This is literally how they get around - asking those who can pay the fare to subsidize them doesn't seem like that much to ask.