I'd just tell the judge you bought 'em because you didn't know you need 'em until you were stopped, and see if that'll fly.
Read your ticket, too. It may cost you extra to go before the judge.
__________________
"be careful this rando stuff is addictive and dan's the 'pusher'."