Then the toilet locks itself and sprays water all over the inside.
This provides a level of cleanliness and discourages the homeless from using it as a shelter.
I can't see this being very popular in a state that wants to save water and where someone could pretend to get stuck inside and sue.
The homeless would just use it as a shower.