with the cop prior to the trial, which is usually allowed in some courts. Bottom line, you can plea guilty in front of the judge and give some explanations. Looks like you are a nice guy with less or no pre-ticket(s). So your chance to get less panelty is high. Best luck.