A marriage recognized by a court as invalid shall be considered invalid from the moment of its conclusion.