The sentencing court may, as an additional penalty, require persons who have committed the offence provided for in article L. 3421-1 to submit to a therapeutic injunction, in accordance with the procedures defined in articles L. 3413-1 to L. 3413-4.The duration of the measure is twenty-four months at most.