I was called for jury duty just a few weeks ago [in Texas]. I wore jeans for voir dire, but after I was selected and given the dress requirements, I asked whether a kilt would be acceptable. They told me no, that it was equivalent to wearing shorts.

YMMV.