What happens if the marriage contract contains a condition that is legally invalid but not contrary to its essence?
In such a case, the condition will be considered invalid, while the contract itself will still be valid.