I know at least in my city the removal of public bathrooms is due to homeless and drug problem. If you have 24 hour public toilets they just become homeless houses. It is frustrating though to be on the train through a less-than-great neighborhood and having to go to the bathroom... knowing that there are no available public ones and all of the commercial entities either try and refuse or force you to purchase something. Bit of a nightmare when you're in that I NEED TO GO NOW emergency mode.