Here's the problem...you will be in court and they will have a picture of you, they don't need your confession. I'd suggest you go a different route. You can't just tstify to some questions and not others.
First of all, if it wasn't your car, why are you going to court? Here is a website with a ton of information:
I'm not affiliated with them at all and don't endorse, just a lot of my clients have found good information there.
Good luck with your situation.