It seems to me most people caught with child porn or showing up to a Chris Hansen house know the difference between right and wrong and they chose wrong, that's grounds for the legal definition of competency I believe? Crime works the same way for criminals. Do they need punished? Yes. Can they be rehabilitated? I have no idea I fix computers not people.