What about swearing in court?

Legal analysis: People's courts can admonish people who violate court rules, order them to leave the court or impose fines or detention. The people's court shall investigate criminal responsibility for disturbing the court, assaulting the court, insulting, slandering, threatening or beating the judge, and seriously disturbing the court order; If the circumstances are minor, they shall also be fined and detained.

Legal basis: Article 110 of the Civil Procedure Law of People's Republic of China (PRC), litigants and others shall abide by the court rules. The people's court may admonish, order to leave, fine or detain those who violate the rules of the court. The people's court shall impose fines and detention on those who disturb the court, attack the court, insult, slander, threaten or beat the judge, and seriously disturb the court order, and shall be investigated for criminal responsibility according to law. Participants in litigation shall abide by the rules of the court and maintain the order of the court. Do not make noise, make noise, speak or debate, and must obtain the permission of the presiding judge. Observers must observe the following disciplines: without the permission of the presiding judge, they are not allowed to record, video or take photos, walk around and enter the trial area at will to speak, applaud or make noise when asking questions, and they are not allowed to commit other acts that hinder trial activities.