A decree of nullity granted after 31st July 1971 in respect of a voidable marriage shall operate to annul the marriage only as respects any time after the decree has been made absolute, and the marriage shall, notwithstanding the decree, be treated as if it had existed up to that time.