Couldn't find a hotel or a bus out of Tehran in the '70s so we slept on benches in a park.
Same think happened to us in Villa Hermosa Mex. and slept on a park bench there.
Not so bad an experience. Didn't get harassed by the police or beat up by punks in either place as could have happened in the U.S.
Spent hours on the side of I-10 in California hitch hiking, wondering if I would spend the night, but all this was accepted at the time, so not so dreadful. And I didn't spend the night. Came up with a philosophy: "Why am I here? Because I am not somewhere else"