legal ground
Criminal procedure law
Article 187 "The public prosecutor, the parties, their defenders and agents ad litem have objections to the witness testimony, which has a great influence on the conviction and sentencing of the case. If the people's court deems it necessary for the witness to testify in court, the witness shall testify in court. The provisions of the preceding paragraph shall apply to the people's police who testify in court and testify about the criminal acts they witnessed while performing their duties. If the public prosecutor, the parties, the defenders and the agents ad litem have objections to the expert opinion, and the people's court deems it necessary for the expert to appear in court, the expert shall testify in court. If the appraiser refuses to testify in court after being notified by the people's court, the appraisal opinion shall not be used as the basis for finalizing the case.
Article 188 "If a witness fails to testify in court without justifiable reasons after being notified by the people's court, the people's court may compel him to appear in court, except the spouse, parents and children of the defendant. If a witness refuses to appear in court without justifiable reasons or refuses to testify after appearing in court, he shall be admonished. If the circumstances are serious, with the approval of the dean, he shall be detained for less than ten days.