Skip to content
General

When Courts Step In: How Judges Override Private Legal Documents

Your contract or will isn't always the final word. Ontario courts can step in when documents are unconscionable, violate public policy, or fail to meet legal requirements. Here's when and why it happens.

By Frontier Law January 2026 4 min read
When Courts Step In: How Judges Override Private Legal Documents

Private legal documents—contracts, wills, shareholder agreements, and the like—are generally binding and enforceable. However, Ontario courts have the power to override these documents in certain circumstances. This article explains when and why courts intervene.

The General Rule: Private Documents Are Binding

As a general rule, private legal documents are binding and enforceable. Courts respect the principle of freedom of contract and the right of people to arrange their affairs as they see fit. However, this principle has limits.

When Courts Override Contracts

Unconscionability

Courts may refuse to enforce contracts that are unconscionable—meaning they are so unfair that they shock the conscience. This typically requires:

  • A significant power imbalance between the parties
  • Terms that are extremely unfair
  • One party taking advantage of the other’s vulnerability

Illegality

Courts will not enforce contracts that are illegal or contrary to public policy. This includes:

  • Contracts for illegal activities
  • Contracts that violate statutory requirements
  • Contracts that harm the public interest

Mistake, Fraud, or Duress

Courts may set aside contracts if there was:

  • A fundamental mistake about a material fact
  • Fraud or misrepresentation
  • Duress or undue influence

Impossibility or Frustration

If a contract becomes impossible to perform or is frustrated by unforeseen circumstances, courts may discharge the parties from their obligations.

When Courts Override Wills

Challenging a Will’s Validity

Courts can set aside wills if they are invalid due to:

  • Lack of capacity (the testator didn’t have mental capacity)
  • Undue influence (someone pressured the testator)
  • Fraud or forgery
  • Improper execution (the will wasn’t signed or witnessed correctly)

Dependant’s Relief

Under the Succession Law Reform Act, dependants (like spouses and children) can seek relief from a will if it doesn’t provide adequate support. Courts can order that provision be made from the estate, even if the will says otherwise.

Rectification

Courts can correct errors in wills if there’s clear evidence of what the testator intended and the will doesn’t reflect that intention due to a drafting error.

When Courts Override Shareholder Agreements

Oppression Remedy

Under the Ontario Business Corporations Act, shareholders can seek an oppression remedy if the corporation’s affairs are being conducted in a way that is oppressive, unfairly prejudicial, or unfairly disregards their interests. Courts can override shareholder agreements and corporate decisions to provide relief.

Statutory Compliance

Courts can override shareholder agreements that violate mandatory provisions of the OBCA or other legislation.

Public Policy

Courts will not enforce shareholder agreements that violate public policy or are contrary to the public interest.

When Courts Override Trusts

Variation of Trusts

Courts have the power to vary trusts in certain circumstances, including:

  • When all beneficiaries consent (if they’re adults with capacity)
  • When the trust’s purpose can no longer be fulfilled
  • When there has been a fundamental change in circumstances
  • When variation is clearly in the best interests of beneficiaries

Removal of Trustees

Courts can remove trustees who are not acting in the best interests of beneficiaries or who are breaching their duties.

Setting Aside Trusts

Courts can set aside trusts that were created through:

  • Fraud
  • Undue influence
  • Mistake
  • Illegality

Common Themes: Why Courts Intervene

Protecting Vulnerable Parties

Courts often intervene to protect parties who are vulnerable or in a weaker bargaining position, such as:

  • Elderly testators
  • Consumers in contracts with businesses
  • Minority shareholders
  • Beneficiaries of trusts

Upholding Public Policy

Courts intervene when private arrangements would violate public policy or harm the public interest.

Correcting Injustice

Courts intervene to correct situations that would be unjust or unfair if left unaddressed.

Ensuring Statutory Compliance

Courts ensure that private arrangements comply with mandatory statutory requirements.

Limits on Court Intervention

Courts Prefer Not to Intervene

Courts generally prefer that parties resolve disputes themselves and only intervene when necessary. They respect freedom of contract and the right of people to arrange their affairs.

High Thresholds

The thresholds for court intervention are generally high. Courts don’t lightly override private documents.

Specific Remedies

When courts do intervene, they typically provide specific remedies rather than completely invalidating documents.

Practical Implications

Documents Should Be Clear and Fair

To reduce the risk of court intervention, documents should be:

  • Clear and unambiguous
  • Fair and reasonable
  • Compliant with applicable law
  • Properly executed

Getting legal advice when creating important documents can help ensure they’re valid and less likely to be challenged.

Consider Dispute Resolution

Including dispute resolution mechanisms (like mediation or arbitration) in documents can help resolve disputes without court intervention.

Key Takeaways

  • Courts can override private legal documents in certain circumstances
  • Common reasons include unconscionability, illegality, fraud, and protecting vulnerable parties
  • Courts generally prefer not to intervene and only do so when necessary
  • The thresholds for intervention are generally high
  • Well-drafted, fair documents are less likely to be challenged

This article is for informational purposes only and does not constitute legal advice. Every situation is unique, and the information here may not apply to your specific circumstances. For advice tailored to your situation, consult with a qualified legal professional licensed to practice law in Ontario.

Topics: court intervention contracts wills shareholder agreements Ontario law judicial override

Disclaimer: This article is for informational purposes only and does not constitute legal advice. For advice specific to your situation, please contact us for a consultation.

Have Questions?

We are prepared to assist you.

Speak with a Lawyer