While skepticism is healthy, I don't understand how you can say with certainty it will not work.
A hypothetical technology that could very accurately determine the sex of a brain would seem to be a boon for transgendered people. Early detection could mean better treatment and less suffering with fewer cases of desisting.