This image was sent to me, and the note with it said, that this cord was supplying a soda machine in a NYS Greyhound bus station.
The receptacle looks like it has been in use for many years.
I don't know who installed this.
The least that should be considered is when the local fire marshall, or any other person sees this maybe a call to the electrical inspector would be the best way to get something like this fixed.
Whenever I mention some of the problems I discover during my travels, I get a dirty look, they say mind your own business, and why were you trespassing!