(1) In exercising any power in relation to a civil proceeding, a court may take into account any contravention of the overarching obligations.
(2) Without limiting subsection (1), in exercising its discretion as to costs, a court may take into account any contravention of the overarching obligations.