When I was going to gay bars in my 20s and 30s, the older guys there explained to me that the police would occasionally raid these places and march the clients out, load them onto paddy wagons, drive them down to the station, photograph them, fingerprint them and put their names on a list. They were doing nothing wrong, and it was criminalized.