This discussion reminds me of Virginia Woolf's 'Orlando'. In 'Orlando' the title character's sex spontaneously changes, but it does not change how they self-identify.
Orlando had become a woman - there is no denying it. But in every other respect, Orlando remained precisely as he had been. The change of sex, though it altered their future, did nothing whatever to alter their identity.

Gender: