Article R53-8-63 of the French Code of Criminal Procedure
The President of the Regional Court for Security Detention may visit the centres within his jurisdiction and ask to see the detention register and the individual files of detainees. The same applies to the public prosecutor and the public prosecutor.