Article D47-31 of the French Code of Criminal Procedure
The public prosecutor or the public prosecutor shall notify the automated national criminal records department of judgments and rulings declaring that a person is not criminally responsible on account of mental disorder handed down by the investigating chamber and the trial courts in cases where the provisions of Article 706-136. In this case, when informed of the lifting of an involuntary hospitalisation in accordance with Article D. 47-30, the public…