Even though objectively their marriage was invalid, they were both in good faith believing their state to be lawful, and therefore they were not guilty of a sin of adultery. Nor would any children have been illegitimate, for children of a putative marriage are entitled to legitimacy.
Radio Replies Volume 1 by Rev. Dr. Leslie Rumble MSC and Rev. Charles Mortimer Carty
