The court must, when making a ruling to grant or dismiss bail, hear the opinion of the public prosecutor.
裁判所は、保釈を許す決定又は保釈の請求を却下する決定をするには、検察官の意見を聴かなければならない。
The provisions of the preceding paragraph apply when the court makes a ruling to rescind detention, except when it is so requested by a public prosecutor; provided however, that this does not apply in any case requiring urgency.
検察官の請求による場合を除いて、勾留を取り消す決定をするときも、前項と同様である。但し、急速を要する場合は、この限りでない。
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.