Article 712-22 of the French Code of Criminal Procedure
When deciding whether to grant one of the measures provided for in Articles 712-6 and 712-7, the sentence enforcement courts may in the same judgment, at the request of the convicted person, relieve him or her in whole or in part, including as regards duration, of a prohibition resulting ipso jure from a criminal conviction or imposed as an additional penalty, either from holding a public office or a professional…