In the past what was usually done is that the penis was removed to make the person one sex. However in some cases the hermaphrodite wanted to be male. So a hermaphrodite was actually one of two sexes. You cant force the wrong sex on him or her or unhappiness and depression will follow.
I don’t know if you read the link I provided, but that is exactly what the complex legal case I referred to was dealing with. Whether to chose the sex of a baby or to allow the baby to develop and grow a mind of its own.