Law and morality
It is usually said that there is a difference between law and morality at the level of a person’s motives. In (deontological) morality, an act is judged as moral if the intentions and motives of the person who did the act were moral. Law, on the other hand, is usually satisfied with the desired result of a particular behavior. If in practice this result is achieved, it is not the business of law to examine the person’s motives.
And, indeed, the one who commits a legal offense is judged according to his intentions when he committed the offense! A person’s intentions and motives are an essential element of his criminal responsibility.
Isn’t that a contradiction to what I wrote above?