Sometimes they did. Being trans was/isn’t a religious cultural drama for the Imams of the regime. But. Particularly under Ahmadinejad, some men were prosecuted and forced to transition against their will. Usually involved politics: I know of 3 cases where teenage boys were nabbed and the boy whose family had connections got off the charges, while the other lad got off Scott free. But in one case 3 boys were found together. Two were horrifically and publicly hanged from a crane, but the third lad whose family had jagyeh - connections - got off the charges but had to watch his mates be murdered. The two killed were ethnic Kurds. There are lots of gay and lesbian Iranians - friends with many and I’m a gay man - living openly with their same-sex partners in Tehran, Mashad, Esfahan, and Shiraz while their friends, families, and neighbours know about the dynamics of the relationship. The Apps like Grindr are bonkers busy, when the internet works. The regime stance is “stay out of politics and don’t bother us or we’ll bother you.” Historically, same-sex relationships weren’t in issue in Iran.