Article 12 of the French Code of civil procedure
The judge shall decide the dispute in accordance with the rules of law applicable to it. He must give or restore their exact characterisation to the facts and acts in dispute without stopping at the name that the parties would have proposed. However, he may not change the name or the legal basis where the parties, by virtue of an express agreement and for the rights of which they have…