When a public prosecutor finds that a witness has refused to give testimony on matters that may lead to the witness's criminal prosecution or conviction and finds it necessary taking into account the importance of testimony on those matters, the gravity and circumstances of the crime concerned and other circumstances, the public prosecutor may request that the court should examine the witness under the conditions set forth in items of paragraph (1) of the preceding Article after that point.
検察官は、証人が刑事訴追を受け、又は有罪判決を受けるおそれのある事項について証言を拒んだと認める場合であつて、当該事項についての証言の重要性、関係する犯罪の軽重及び情状その他の事情を考慮し、必要と認めるときは、裁判所に対し、それ以後の当該証人尋問を前条第一項各号に掲げる条件により行うことを請求することができる。
Upon request under the preceding paragraph, the court shall render a ruling to the effect that the witness will be examined under the conditions set forth in items of paragraph (1) of the preceding Article after that point, except when it is found that the witness has not refused to give testimony or it is clearly found that any matter that may lead to the witness's criminal prosecution or conviction is not included in the matters with regard to which the witness is to be examined.
Read this with the articles around it
public prosecutor
検察官
The official who brings a prosecution (公訴) for a crime before a court (Code of Criminal Procedure, Article 247), and who may decide not to prosecute where, in view of the offender's character, age and circumstances, the gravity and circumstances of the offence and what happened after it, prosecution is not needed (Article 248). In criminal cases a public prosecutor asks the court to apply the law correctly and oversees the carrying out of its judgments; and, as the representative of the public interest, a public prosecutor also does the work other laws and regulations assign to a public prosecutor, which is not limited to criminal cases (Public Prosecutors Office Act, Article 4). A public prosecutor may investigate any crime (Article 6, paragraph (1)). Public prosecutors work through the public prosecutors offices (検察庁): the Supreme, High, District and Local Public Prosecutors Offices (Article 1).
Written by AI using Code of Criminal Procedure, Arts. 247, 248 and Public Prosecutors Office Act, Arts. 1, 4, 6 as a reference.