It was a very weird situation from a moral point of view because on the one hand, finding me guilty was not supported by the evidence, but on the other hand, letting me get off scot-free would have been even more unjust because the fact of the matter is that I did commit a fairly serious moving violation, and the only reason we were in court at all was that the cop decided to cut be a break and then took a long time to do the paperwork.
Based on their other comment it sounds like they said they didn't remember when asked by the magistrate if they committed the act, which isn't the same as invoking the fifth. Thwy also said they were able to prove the officer couldn't have witnessed the act they were testifying about. Then the magistrate found them guilty (based on false testimony?).
That's not the fifth. Pleading not guilty isn't considered a statement or an admission of anything. Nor can it be held against you in any way. We don't double down by charging every guilty party with "perjury" because they lost. That was done away with centuries ago.