A marriage which has been declared null shall, nevertheless, produce its effects in respect of the spouses, where it was contracted in good faith.
If good faith exists only on the part of one of the spouses, the marriage shall produce its effects only in favour of that spouse.