Unless, you could argue that he felt it was okay and normal but knew it wasnt socially acceptable and was compelled so much that he had to hide in order to survive.
But of course thats a long shot and we know lawyers always pull the insanity defence when it comes to crazy shit like this.