From the institution of prosecution to the first trial date, a judge takes charge of the disposition concerning detention.
公訴の提起があつた後第一回の公判期日までは、勾留に関する処分は、裁判官がこれを行う。
If a suspect who has been arrested pursuant to Article 199 or 210, or has been arrested as an offender caught in the act and has not yet been detained is prosecuted during the time limitations prescribed in Article 204 or 205, the judge must promptly notify the defendant of the facts charged, hear the defendant's statement and, unless issuing a detention warrant, must order release of the defendant immediately.
The judge prescribed in the preceding two paragraphs has the same authority as the court or the presiding judge regarding the proceedings thereof.
前二項の裁判官は、その処分に関し、裁判所又は裁判長と同一の権限を有する。
Read this with the articles around it