There are about 5 people here who aren't stupid.
Please stop with the dumb crap about wearing this, or acting this way, it's not funny and it's rude. Not to mention, it's blatently lying to a judge.
Please, Hoeboy, go to the courtroom and tell them exactly why you can't be there. The judge got their position for a reason. They know how to best fit the outcome of a situation. Even if they make you stay, any professor would have no choice but to honor the fact that you were in Jury duty. THEY CANNOT LEGALLY PENALIZE YOU FOR THAT, and they will have to allow you the opportunity to make up what you missed at the same level the other students had. (as in, some professors make make-up tests harder and longer. They can't make you take that.) no matter what. No questions asked. Any problems and you should go straight to the dean.
That being said, it's not worth the risk of fines and imprisonment over the subject. How STUPID do you have to be to be so willing to give $500+ to a court? If you got spare money sitting around, let me know, I'll give you my address. But if you're smart, you'd go and be done with it.