If a marriage is invalidated by a decree, a court may apply so much of this chapter to the property of the parties to the invalid marriage as is necessary to avoid an inequitable result. This section does not apply if s. 767.61 applies to the action to invalidate the marriage.
Wis. Stat. § 766.73