Now, I'm a child of my time, so I think homosexuality is OK, and I think paedophilia is a crime. But were I a child of, say, the thirties or forties, where in my youth fascist regimes burned homosexuals by the thousands, what would I say? Would I have the empathy, or the courage to understand and express against the strong sentiment of society my understanding for the gay cause?
I also want to note that "chemical castration" is a harsh term, and I find the treatment to be an interesting, indeed even acceptable, alternative to just straight incarceration. In the face of a force society considers dangerous to itself, it is a good thing that we can use medication to combat it — and we still do when applicable, for example also with psychopaths and other severe mental illnesses. That homosexuality was viewed as dangerous to society back then is certainly sad, even terrible. But how will people fifty years hence look onto our debates about whether to allow people to marry? How will they look onto our treatment of socially not accepted sexual deviants. Social ousting, sex offenders list, incarceration, the eroding of free speech in the name of reducing just the chances of sexually "deviant" activity?
People back then did what they did because they thought it right. It is not what they did that we should find repulsive, because their methods are by and large the same we employ today when faced with similar value judgements. It is the why. Homosexuality is not a mental illness. We have finally learned this, and I hope it won't take more than the dying out of the current generation of politicians for society at large to accept this.
(I'm sorry to have drawn a parallel between homosexuality and paedophilia — I'm not meaning to suggest any similarity between the two on a biological or indeed conceptual level. I wanted to explain my view that the concept of homosexuality in the society of the 50s was indeed a similar one to the concept of paedophilia today.)