Article 1042 of the French Code of civil procedure
Any action whose principal object is to have a person declared to be or not to be a French national shall be brought by or against the public prosecutor without prejudice to the right of any interested party to intervene in the proceedings.