Article 118 of the French Code of Criminal Procedure
If, during the course of the investigation, it transpires that the acts of which the person under investigation is accused under a correctional charge actually constitute a crime, the examining magistrate shall notify the person, after informing him or her of his or her intention and taking any observations from him or her and his or her lawyer, that a criminal charge is to be substituted for the charge initially…