Legal basis: Criminal Procedure Law of People's Republic of China (PRC).
Article 58 In the course of court hearing, if a judge thinks that there may be cases of collecting evidence by illegal means as stipulated in Article 56 of this Law, he shall conduct a court investigation on the legality of collecting evidence. The parties, their defenders and agents ad litem have the right to apply to the people's court to exclude evidence collected by illegal means according to law. When applying for the exclusion of illegally collected evidence, relevant clues or materials shall be provided.
Article 59 The people's procuratorate shall prove the legality of evidence collection in the process of court investigation. If the existing evidence materials cannot prove the legality of evidence collection, the people's procuratorate may request the people's court to notify the relevant investigators or other personnel to appear in court to explain the situation; The people's court may notify the relevant investigators or other personnel to appear in court to explain the situation. Relevant investigators or other personnel may also request to appear in court to explain the situation. Upon notification by the people's court, the relevant personnel shall appear in court.
Article 60 If the evidence collected by illegal means as stipulated in Article 56 of this Law is confirmed or cannot be ruled out after the trial, the relevant evidence shall be ruled out.
Article 61 The testimony of a witness must be cross-examined and verified by the public prosecutor, the victim, the defendant and the defender in court before it can be used as the basis for finalizing the case. If the court finds that a witness intentionally perjures or conceals criminal evidence, it shall deal with it according to law.