How does the court deal with people who insult judges in the court office?

Lawyer Wang Qiang said that according to Article 10 1 of the Civil Procedure Law, the court can admonish those who violate the rules of the court, order them to leave the court, or impose fines or detention; Anyone who disturbs or attacks the court, insults, slanders, threatens or beats the judge, and seriously disturbs the court order, shall be investigated for criminal responsibility according to law, and if the circumstances are minor, he shall also be fined and detained. Article 12 of the Rules of Court of the People's Court also stipulates that if insulting or beating a judge seriously disturbs the court order, criminal responsibility may be investigated, and a fine or detention may also be imposed.