Forget this and that, the rules in Islam are very straightforward and logical. If someone has male genitalia, he is male, if someone has female genitalia, she is female. If there is ambiguity, it will be seen which characteristic is more prominent. If there is total ambiguity, then the person has to choose. They are required to get an operation if needed in order to adopt the characteristics of appropriate gender. After that, they live the rest of their lives accordingly. If they are unable to have sexual intercourse through genitals, then they can't provide the marital rights to spouse and hence cannot marry.
As opposed to this, today Western teachings encourage full gender fluidity. You can be male one moment, female another, and completely mixed in the next. They allow homosexual acts such as fellatio and buggery. And the real concern is that our liberal, westernized rulers are furthering this Western agenda of their masters. Why, all of a sudden, we see an emphasis on this at the same time when the West is shouting about transgender rights? This has the hallmarks of an attempt at spreading homosexuality and is absolutely disgusting.