Although the court does not have a law requiring this agreement to be upheld, it is a legal agreement which spouses make before marriage to determine the financial division of assets, child custody or other financial matters. The court can use the agreement as a guideline during divorce for financial resolution. The agreement is meant to protect the spouse with the most assets.