(1) As between the spouses, the costs of a legal dispute that the spouses conduct against each other are borne by the spouse who is to bear them under general provisions of law.
(2) If a spouse conducts a legal dispute against a third party, the costs of the legal dispute, as between the spouses, are borne by the spouse who conducts the legal dispute. However, the costs are borne by the common matrimonial property if the judgment takes effect against the common matrimonial property or if the legal dispute relates to a personal matter or a common matrimonial property obligation of the spouse and the disbursement of the costs is appropriate in the circumstances; section 1463 no. 3 and section 1464 remain unaffected.