Article 1389 of the French Civil Code
Without prejudice to gifts which may be made in the forms and in the cases determined by this Code, the spouses may not make any agreement or renunciation the object of which would be to change the legal order of succession.