Not only that, our subway stations and trains reek of urine more often than not. It's unpleasant, but I can't blame homeless people for it too much when there are zero restrooms nearby.
Anti-homeless policies like this are shortsighted; homeless people aren't going away just because you remove public facilities. They still need to eat, sleep, and do their business like anyone else. Better to both help homeless people improve their situations and provide facilities for basic human needs for everyone.