one thing most laws don't take into account is intent.
Legally 1 mph over posted limit ( posted limits are arbitrary, decided by engineers like me that ALWAYS take the safe side) is illegal
however did you intend to hurt someone? Probably not.
Laws are supposed to be guidelines not absolute.
Cops that make them absolute are assholes.
That is why nobody likes or trusts them anymore.
We need more Mayberry Sheriffs and fewer Barney Fifes.

Traffic laws are a different breed from almost all criminal laws. Most are treated as civil infractions. Even insurance companies are less concerned with the lawlessness and only focus on the amount of money you cost them already and whether they can risk you costing them more later.
Most insurance companies used to track you by the points the state issues against your license, with certain increases in premiums wih so many points in a given period.
in fact, traffic laws have various categories, too. Speeding or recklessness is serious, but an equipment infraction (no safety inspection, dark window tint, headlight out, tires too wide, etc.) are often treated as a much less serious ticket.
Since we know traffic laws have evolved from being about safety to simply revenue generation for the jurisdiction, It's best to have all your registration, inspection, insurance, tags, stickers and license in order to avoid giving any Cop that stops you cause to see you as anything other than law-abiding. It amazes me how many people with warrants get caught because of expired tags.
So, as far as intent is concerned, it's a non-issue in traffic court. However, that doesn't mean you can't present a "guilty with a reason" defense. A friend convinced the judge that he was just trying to move right into an exit lane, but a huge line of traffic refused to let him in. He saw a sizable gap ahead, so he sped up to get in line. That's when the cops lasered him. The judge bought it and dismissed the ticket. The cop who was in the courtroom was pissed! And to piss him off more, my friend asked the judge where he could make a donation to the policeman's assistance fund in the amount of his fine! LOL!!
So, while the Cops may not care about intent or justifications, you do have the option to try and get a judge to hear it -- away from the tension and stress of a traffic stop next to a busy roadway.