Nice assumption. Technically correct, but not for the reasons you imply. I do admit some desire for reasons other than the medicine, but it's all purely empirical and the benefit of society. The advantages of human testing should be appearant, for anyone who studies medicine's developement in history, and it guarentees that the children are protected forever from those we catch.... unfortunately we do have to catch them.

If anything, one could also hope it might scare them into giving themselves over to castration before they carry out the desire to molest a child. I'm too much a cynic to expect that to happen very often, but one can hope. And if they don't molest a child, they wouldn't need to be punished.

Also, I have this belief that punishment should fit the crime. And since this crime is worse than death.... it's not really like even the death penalty is enough. I don't think that this medical science run would be enough to balance the books, but it DOES create valuable social services.

And as an added, final, benefit. We don't have to test on animals.