In China, the process requires passing a strict psychological evaluation and surgery before one can change their legal identity and be recognized by the state. Since I used to be know some people from the community, so I have some understanding. I don’t know the policies of other countries, but for those who truly want to transition, I think this is necessary. The requirement to be unmarried is reasonable, since China does not recognize same-sex marriage. I’m not entirely sure about the family consent requirement, but China has the household registration system (hukou), which records family members, so it seems somewhat reasonable. As for being heterosexual, I don’t think that should be a standard requirement, since the main requirements are the hospital’s psychological evaluation and surgery. At least I know of many cases where people successfully changed their legal identity. Of course, these requirements might seem a bit strict in other countries.