ask your lawer.

I've never heard of a judge asking someone to piss in a cup in court....