A marriage declared null and void by a decision of a French court or a foreign court whose authority is recognised in France does not render null and void the declaration provided for in article 21-2 in favour of the spouse who contracted it in good faith.