Strip doctors of their licenses for this crap. You can’t chemically castrate child rapists but you can do it to children.
If I was an atheist, I’d be questioning that line of reasoning right now.
ANY doctor that does this is on the level of Josef Mengele. They have committed crimes against humanity.