well, a violation of a minor law as a necessary step to stop bigger and much severe crime ... Or imagine somebody is having what looks like a heart attack and is falling onto a somebody's lawn, ie. private property, from the sidewalk - stepping onto the lawn to help would technically be the crime of trespassing, wouldn't it?
Actually, there are protections built into the our system of justice for incidental violations of the law like this where there was no criminal intent. Killing someone with your car is a potential violation of a whole host of serious statutes - potentially all the way up to first degree murder. But if it is determined to be an accident and there aren't other factors (intoxication, extreme negligence, etc.)...you cannot be prosecuted for that.