Recital 19 Rules on material and formal validity should be defined so that the informed choice of the spouses is facilitated and that their consent is respected with a view to ensuring legal certainty as well as better access to justice. As far as formal validity is concerned, certain safeguards should be introduced to ensure that spouses are aware of the implications of their choice. The agreement on the choice of applicable law should at least be expressed in writing, dated and signed by both parties. However, if the law of the participating Member State in which the two spouses have their habitual residence at the time the agreement is concluded lays down additional formal rules, those rules should be complied with. For example, such additional formal rules may exist in a participating Member State where the agreement is inserted in a marriage contract. If, at the time the agreement is concluded, the spouses are habitually resident in different participating Member States which lay down different formal rules, compliance with the formal rules of one of these States would suffice. If, at the time the agreement is concluded, only one of the spouses is habitually resident in a participating Member State which lays down additional formal rules, these rules should be complied with.