Article 747-1 of the French Code of Criminal Procedure
In the event of a final conviction for an offence to a firm prison sentence of less than or equal to six months, or the firm part of which is less than or equal to six months, including if this sentence results from the revocation of a suspended sentence, the sentence enforcement judge may, before the prison sentence is served or during its execution, order, of his own motion or…