I think this is a really difficult issue, because I get completely what Xenia is saying. People are born as they are, and presumably cannot do much to change that. It is how they act in the world that is important.
Using Xenia's example of homosexuality. If you go back to some of the Ancient Greek States you get a culture in which it was completely the norm - fast forward several thousand years, and it was considered a perversion. The pendulum has now swung back, and we are mostly more accepting of the fact that some people are gay, and that it is not a perversion or something "wrong" with them that needs to be fixed, but just a difference.
Equally there have been times in history where paedophilia has not been considered to be unacceptable. Margaret Beaufort, for example, was 12 years old when she gave birth to Henry VII, and her husband was 25. Nowadays we quite rightly consider children to be vulnerable and in need of society's protection, but society has not always had this view.
This is why I don't think it is unacceptable to be understanding of the fact that some people might find themselves in the position of having sexual preferences that they know are wrong, and that society as a whole considers to be deviant to the point of being evil. If I am honest I feel pity for someone in that situation. However, as members of society it is obviously their duty to suppress and avoid such thoughts, and any action which allows their desires to become more than thoughts should obviously be treated with the utmost severity.
Our society values the innocence of our children and should at all time be striving for the protection of our most vulnerable members.
I do think there was no need for the judge to say what she did in the court case though.