If you have a cohabitation agreement and later get married or enter a civil partnership, the agreement might be taken into account if you later divorce or file to dissolve the partnership.