In any action, a court of competent jurisdiction shall set aside or reform a mediated settlement agreement if appropriate under the principles of law applicable to contracts, or if there was evident partiality, corruption, or misconduct by a mediator prejudicing the rights of a party. That the relief could not or would not be granted by a court of law or equity is not ground for setting aside or reforming the mediated settlement agreement unless it violates public policy.