I came across an astonishing aside in a seventeenth century sermon recently. The author casually mentions intersex individuals, including one specific example of someone who has changed both gender and the sex of their marital partner.
He doesn't mention them to condemn them, but merely to underline a rhetorical point. There is not a hint of a suggestion that this is a problem - unusual, yes, but within the normal range of unusual events. Intersex, he says, happens 'pretty often', and is God-given.
The author - John Wallis DD - is speaking about the Athanasian creed, and specifically about the possibility of a virgin birth. He says that it is no less likely than the raising of Lazarus and other miracles.
Then he goes on:
"I was about to say (and it is not much amiss if I do) it is not much more than what (pretty often) happens amongst men, when God gives both sexes to the same person (such there are, and have been; and I think there is one yet living, who was first as a Woman married to a Man, and is since as a Man married to a Woman;) and what hinders them, but that God, if he please, may mingle the Effects of both these Sexes in the same Body? A little alteration in the structure of the vessels would do it."
Maybe this should go into the Pilling report as some theological background?
(Reference: 'An Explication and Vindication of the Athanasian Creed', by John Wallis DD, London, 1691. In Durham University library special collections, PG.Routh.36.B.16)