The trial court did not err in enforcing decedent’s contract with defendant under which defendant was to liquidate decedent’s Iranian properties and transfer the proceeds to decedent. Although the contract violated the federal sanctions imposed on Iran, the trial court did not abuse its discretion in awarding the plaintiff heirs relief since (a) the sales of the Iranian properties were complete, so enforcing the trade ban would not achieve its objective any more, and (b) defendant was more at fault for not securing the license federal law required to be exempted from the sanctions regime.