When the validity of a trust that was revocable at the settlor's death is contested through a judicial proceeding, the attorney fees and costs, as provided in 25-10-201, incurred in defending the validity of the trust must be paid by the party contesting the validity of the trust if the trust is found valid. If the trust is found invalid, costs as provided in 25-10-201, but not attorney fees of the objecting party, must be paid by the party who defended the validity of the trust or out of the trust property, as the court directs.
§ 72-38-605, MCA