Really? You're comparing crossdressing to being a criminal? Yes, they have used that as a defense. And if it is a compulsion (the crime) then it becomes a mental disorder. It does not excuse you from being a criminal it just sends you somewhere else for punishment. Since being a TG is NOT a mental disorder or illegal, then your question is specious and off topic.