If you can try to speak with the DA on the case before your court appearance. Explain the issues to him/her and basically beg for leniency. Since you have the car registered with insurance, etc...that should definitely work in your favor. Just ask the DA for the best deal you can get and you probably will walk out with a small fine for a defective vehicle or something similar.
That's been my experience, anyway.