§ 146. Judgment, how far conclusive. A final judgment, annulling a marriage rendered during the lifetime of both the parties is conclusive evidence of the invalidity of the marriage in every court of record or not of record, in any action or special proceeding, civil or criminal. Such a judgment rendered after the death of either party to the marriage is conclusive only as against the parties to the action and those claiming under them.