Part II
First Instance
Chapter I
Inquiry and Investigation
Article 204
(1) When a public prosecutor has arrested a suspect upon an arrest warrant or has received a suspect who was arrested upon an arrest warrant (excluding such suspect as is referred in accordance with the preceding Article), he/she shall immediately release the suspect when he/she believes that it is not necessary to detain the suspect, or shall request a judge to detain the suspect within 48 hours of the suspect being placed under physical restraint when he/she believes that it is necessary to detain the suspect ; provided, however, that when the public prosecutor has instituted prosecution during the time limitation, he/she shall not be required to request detention.
Rights during investigation - arbitrary arrest or detention and deprivation of liberty
EDIT.