Article 717-1 of the French Code of Criminal Procedure
Under conditions laid down by decree in the Conseil d’Etat, persons convicted of an offence for which socio-judicial supervision is incurred serve their sentence in prison establishments that provide appropriate medical and psychological monitoring. Without prejudice to the provisions of article 763-7, the sentence enforcement judge may propose that any convicted person covered by the provisions of the previous paragraph undergo treatment while in detention, if a doctor considers that…