You can refuse. The judge can also throw you in jail.
I know that applies to Grand Juries, but what about regular court trials?.........