RandomRhino, I am glad you noted the distinction between sex and gender, because I think it is important.
As everyone knows, a small fraction of infants are born intersex. TThey are persons who once were (crudely) termed “hermaphrodites.” The causes of intersex conditions are multiple: genetic abnormalities, exposure to chemicals while in utero, etc. The children affected, and their families, should be assisted to help them lead a healthy and happy life.
However, the existence of intersex individuals does not justify intergender identities. From a Catholic point of view, only two genders exist. Pope Benedict, in his 2013 address to the Curia spoke about this. I will quote from it (and add paragraph breaks for the purpose of readability)
*it is now becoming clear that the very notion of being – of what being human really means – is being called into question. [Gilles Bernheim, the chief rabbi of France] quotes the famous saying of Simone de Beauvoir: “one is not born a woman, one becomes so” (on ne naît pas femme, on le devient). These words lay the foundation for what is put forward today under the term “gender” as a new philosophy of sexuality.
According to this philosophy, sex is no longer a given element of nature, that man has to accept and personally make sense of: it is a social role that we choose for ourselves, while in the past it was chosen for us by society. The profound falsehood of this theory and of the anthropological revolution contained within it is obvious. People dispute the idea that they have a nature, given by their bodily identity, that serves as a defining element of the human being. They deny their nature and decide that it is not something previously given to them, but that they make it for themselves.
According to the biblical creation account, being created by God as male and female pertains to the essence of the human creature. This duality is an essential aspect of what being human is all about, as ordained by God. This very duality as something previously given is what is now disputed. The words of the creation account: “male and female he created them” (Gen 1:27) no longer apply. No, what applies now is this: it was not God who created them male and female – hitherto society did this, now we decide for ourselves. Man and woman as created realities, as the nature of the human being, no longer exist.
Man calls his nature into question. From now on he is merely spirit and will. The manipulation of nature, which we deplore today where our environment is concerned, now becomes man’s fundamental choice where he himself is concerned. From now on there is only the abstract human being, who chooses for himself what his nature is to be. Man and woman in their created state as complementary versions of what it means to be human are disputed.
But if there is no pre-ordained duality of man and woman in creation, then neither is the family any longer a reality established by creation. Likewise, the child has lost the place he had occupied hitherto and the dignity pertaining to him. Bernheim shows that now, perforce, from being a subject of rights, the child has become an object to which people have a right and which they have a right to obtain. When the freedom to be creative becomes the freedom to create oneself, then necessarily the Maker himself is denied and ultimately man too is stripped of his dignity as a creature of God, as the image of God at the core of his being.*
vatican.va/holy_father/benedict_xvi/speeches/2012/december/documents/hf_ben-xvi_spe_20121221_auguri-curia_en.html