If that pisses the judge off, they are a bad judge. If they are a bad judge, getting out of their court as quickly as possible is your best bet. If they aren’t a bad judge however, then that shouldn’t piss them off at all. You say you didn’t know it was expired. How long ago did it expire? Why were you pulled over initially?