A++++ for you, xs!
She should have consulted with you so you could advise her the time to do that is when the officer apprehends you -- not when you're already in court.