Sorry to be a crashing bore, but, to go back to the Islamic law thing, while the Grand Ayatollah Khamenei legally recognised transitioning MtF solely within the Twelver branch of Shi'a Islam that is far from uncontroversial. In fact, Iranian Grand Ayatollah Tabrizi (who was also a well respected leader of the same branch of Islam) stated that trangenderism is against the Quran and the law of God because it denies God's sovereign will with regard to the body. Being homosexual is still illegal in Iran, and punishable by death, where sex reassignment surgery and legal recognition of change of sex is ok. This is seen by many LGB groups as an attempt to both "trans the gay away" and a way to impose further control over LGB people. A sort of gay conversion therapy on a countrywide level.
In Egypt it is illegal to be homosexual and transgender. Whatever some university lecturers might have to say about it. In Egypt as well, rape is almost never reported, because it is seen as the woman's fault.
In many countries where being homosexual is punishable by death, by transing is allowed, women are also held responsible if they are raped or sexually assaulted. And by that, I mean legally, not just as in elsewhere where women are just told they're responsible for what men do to them. Which I think raises some difficult questions as well?
Anyway, as you were.