Article 1387 of the French Civil Code
The law governs conjugal association, as regards property, only in the absence of special agreements which the spouses may make as they see fit, provided that they are not contrary to good morals or to the following provisions.