When you attribute perversion to someone or someone, you're doing a moral judgment, it cannot be inferred by any science field. Moral judgments comes from culture and religion.
That requires you to first make the moral judgement that perverted is bad. Which someone could argue was not the case. Perverting the justice of an unjust law for example:P