Deavo

Illegality and public policy (contracts)

Illegality and public policy are grounds on which a court can refuse to enforce part of a contract. The Supreme Court of Canada treats a restraint of trade as contrary to public policy and void unless it is reasonable, and it requires a party avoiding an exclusion clause to identify an overriding public policy.

The question arises when one side asks a court not to enforce a term, such as a non-competition covenant or a limit on liability. The argument is that the term, or the whole agreement, should fail because the law forbids it or the public interest outweighs the freedom to contract. See whether a non-compete in a business sale is illegal for one example.

What the Supreme Court of Canada has said

In Shafron v. KRG Insurance Brokers, the Court set out the general rule that restraints of trade, if there is nothing more, are contrary to public policy and void, with an exception where the restraint is found to be reasonable. In Tercon Contractors v. British Columbia, it said a party seeking to avoid an exclusion clause must identify the overriding public policy that it says outweighs the public interest in enforcing the contract. In Shafron, the Court also said blue-pencil severance may be resorted to sparingly and only where the part being removed is clearly severable, trivial and not part of the main purport of the restrictive covenant. These are common-law rules.

In Quebec

Quebec’s Civil Code governs instead. Article 1411 makes a contract whose cause is prohibited by law or contrary to public order null, and article 1413 says the same of a contract whose object is.

What to ask

  • Which term is challenged, and whether the argument is illegality, restraint of trade or a named public policy.
  • Whether the agreement has a severability clause, and what remains if one term fails.
  • Whether Quebec law or another province’s law governs the agreement.

Sources

This definition is checked against primary sources. Links were last confirmed on the dates shown.

  1. 01
  2. 02
  3. 03
    Éditeur officiel du QuébecGovernment
    CCQ-1991 - Civil Code of Québec
    legisquebec.gouv.qc.ca·Checked Aug 16, 2026

Deavo is an advertising and listings platform, not a brokerage, law firm or valuation firm. This page is general information, not legal, tax, accounting or valuation advice, and rules differ by province. Confirm anything you rely on with a qualified professional before you act on it.

Ready to put this to use?

Browse Canadian businesses for sale, or read the answer to a related question.