(a) A military judge or summary court-martial officer may punish for contempt a person who
- (1) uses a menacing word, sign, or gesture in its presence;
- (2) disturbs its proceedings by any riot or disorder; or
- (3) wilfully disobeys a lawful writ, process, order, rule, decree, or command of the military judge or summary court-martial officer.