We're not in a position to precisely define male or female by exacting, true-or-false standards. If absolute proof is required, then none of us can prove that we are male or female. Yes? Then we're nowhere.
What I'm asserting is fairly straight-forward. You take a man, who has lived as a man for (eg) 30 years, raised a family (as a man), and been accepted into society as a man.
You then take this man and invert his penis.
Is that sufficient to make him a woman? Let's assume that he's secretly fancied men his whole life, but nothing on his medical record indicates a biological abnormality. Just for the sake of argument - I'm not suggesting this is correct in all such situations, or even typical. This is just a thought experiment if you like.
OK, so instead of embracing life as a homosexual, for whatever reason this guy decides he's actually a woman trapped in a man's body. He undergoes SRS, his his member removed and gets some fake baps shoved in.
And we're expected to say, "This is a woman."
Is no one prepared to accept that some such cases may be mental disorders rather than biological problems? And that you can't "fix" such problems by inverting your penis? Neither do you become a woman by doing so; esp if there was nothing biologically wrong with you as a man.