Hmmmm. . . well, I grew up in a country (USA) and a very conservative state (Ewetaw) where it was VERY illegal for people to engage in same-sex activity. The punishments for those that were caught were harsh and included prison time as well as being sent to the State Mental Hospital for an indeterminant period. Although the Supreme Court has finally weighed in on same sex activity as OK, it has done little to stop the harrassment of gays; especially married men or Über religious gays still in the closet. In fact, in the "pretty, great State of Ewetaw" the Vice Squads throughout that State still routinely ferret out nudists, gay and straight, for public indecency. You might not think Ewetaw was as bad as a Muslim country, but it wasn't much better.
Anyway, it never stopped me for getting as much as possible as often as possible. In the 70's most gay men "headed west" to San Francisco (thank you, San Francisco) to live free.