In addition to taking priority over a will, a prenuptial agreement may be used to distribute the estate if one spouse dies intestate, meaning without a will or estate plan, or if a will was later found to be invalid. ... In this situation, the prenuptial agreement can override state law even if a will could not.