I disagree and your example has no bearing , Intent doesnt equate to "excuses"
Theres an obvious difference between , someone maliciously committing crimes and someone that isnt.
Theres a difference between someone deliberately pushing an old woman in front of a bus for the sheer pleasure and someone that in order to save a child in the process of pushing him out of the way of a bus accidently knocks an old lady under the wheel , yet is charged with manslaughter.
Often Judges rule "harshly " against criminals who commit crimes , especially if someone is injured and the intent was for money .
Its one thing to beat someone up because you are angry , its quite another if you beat someone up for their wallet .
Thats what "intent of the heart means"
In your example the Judge would reason that "your intent " was to get somewhere in too big a hurry.
You intent was to make a nonsensical excuses to get out of a ticket.
However if you were going to the hospital your intent may be reasonable.