No compromise upon the following questions shall be valid:
(1) The civil status of a person;
(2) The validity of a marriage or legal separation;
(3) Any ground for legal separation;
(4) Future support;
(5) The jurisdiction of courts;
(6) Future legitime. (Art. 2035, Civil Code)