The following are the relevant legal provisions.
People's Republic of China (PRC) Civil Procedure Law
Article 44 A judge shall recuse himself in any of the following circumstances, and the parties have the right to apply for his recusal orally or in writing:
(1) Being a party to the case or a close relative of a party or agent ad litem;
(2) Having an interest in the case;
(3) Having other relations with the parties or agents ad litem in this case, which may affect the fair trial of the case.
If a judge accepts a party or agent ad litem's invitation, or meets with a party or agent ad litem in violation of regulations, the party has the right to ask him to withdraw.
If a judge commits the acts listed in the preceding paragraph, he shall be investigated for legal responsibility according to law.
The provisions of the preceding three paragraphs shall apply to clerks, translators, expert witnesses and inspectors.
Article 111 If a litigant participant or other person commits one of the following acts, the people's court may impose a fine or detention according to the seriousness of the case; If the case constitutes a crime, criminal responsibility shall be investigated according to law:
(1) Forging or destroying important evidence, which hinders the people's court from hearing a case;
(2) using violence, threats or bribes to prevent witnesses from testifying or instigating, bribing or coercing others to commit perjury;
(3) Hiding, transferring, selling off or destroying the property that has been sealed up or detained, or transferring the property that has been counted and ordered to be kept;
(4) Insulting, slandering, framing, beating or retaliating against judicial personnel, participants in litigation, witnesses, translators, expert witnesses, inspectors and assisting executors;
(5) Obstructing judicial personnel from performing their duties by violence, threat or other means;
(6) Refusing to perform a legally effective judgment or ruling of the people's court.
The people's court may impose a fine or detention on a unit that commits one of the acts listed in the preceding paragraph; If a crime is constituted, criminal responsibility shall be investigated according to law.