Our local courts banned masks for jury duty for a while, too. They eventually allowed them, but only if they're clear. They seem to be outlawing them in some places from a facial recognition standpoint, at least officially. I'm sure it's largely just anti-maskers doing what they do.
At the time it was pointed out to me that there is a transparent, NIOSH-approved N95 mask. Might be worth looking into whether that would be allowed there.