Legal basis:
Criminal Procedure Law of the People's Republic of China
Article 28 A judge, prosecutor or investigator shall recuse himself under any of the following circumstances, and the parties and their legal representatives also have the right to ask him to recuse himself:
(1) Being a party to the case or a close relative of the party;
(2) He or his close relatives have an interest in the case;
(3) Having served as a witness, expert witness, defender or agent ad litem in this case;
(4) Having other relations with the parties to the case, which may affect the fair handling of the case.
Article 29 Judges, prosecutors and investigators shall not accept guests and gifts from the parties and their clients, and shall not meet the parties and their clients in violation of regulations.
Judges, prosecutors and investigators who violate the provisions of the preceding paragraph shall be investigated for legal responsibility according to law. The parties and their legal representatives have the right to ask them to withdraw.
The Supreme People's Court's Interpretation on the Application of the Criminal Procedure Law of People's Republic of China (PRC)
Article 23 A judge shall recuse himself under any of the following circumstances, and the parties and their legal representatives have the right to apply for his recusal:
(1) Being a party to the case or a close relative of the party;
(2) He or his close relatives have an interest in the case;
(3) Having served as a witness, expert witness, defender, agent ad litem or translator in this case;
(4) Having a close relative relationship with the defender or agent ad litem of this case;
(5) Having other interests with the parties to the case, which may affect the fair trial.
Article 24 If a judge violates the regulations and has any of the following circumstances, the parties and their legal representatives have the right to apply for withdrawal:
(1) Meeting with the parties, defenders or agents ad litem of this case in violation of regulations;
(2) Recommend or introduce defenders and agents ad litem for the parties to the case, or introduce lawyers and other personnel to handle the case;
(3) soliciting or accepting property or other benefits from the parties to the case and their clients;
(4) Accepting banquets or participating in activities paid by the parties to the case and their clients;
(5) Borrowing property from the parties to the case and their clients;
(six) there are other misconduct, which may affect the fair trial.