Be glad you just got jail time, I had to spend a few months where behavior of that sort would get you killed (then again this was also where public executions where a general past time).
Could you've at least waited till court was called to recess or something?