With the Liberal government's bill to ban strikes and freeze the pay of Ontario's teachers moving towards final passage in the legislature, the Canadian Civil Liberties Association has warned it will challenge the legislation in court.

The CCLA said at a news conference in Toronto on Thursday that Bill 115 is unconstitutional. "A forced labour agreement is no more constitutional than a forced confession," said lawyer Stephen Barrett.

The CCLA said it will seek intervener status in any legal challenge to the bill.

"We are concerned that this bill violates the right to meaningful collective bargaining. Why is it necessary, for instance, remove the right to strike before any job action has occurred or even been contemplated," said CCLA director Sukyana Pillay.

The legislation is expected to pass on Thursday.

Earlier this week about 4,000 teachers and their supporters rallied on the front lawn of Queen's Park calling for the minority Liberals to negotiate with them, rather than legislate.

Three unions representing about 45,000 teachers and school workers agreed to the two-year framework agreement with the province, which the government is now trying to impose on the others.

But the three other unions, representing about 191,000 members, oppose the deal and are fighting the legislation.

The bill, which will likely become law with the Progressive Conservatives' backing, would freeze salaries, ban strikes and lockouts for at least two years.

Ontario Premier Dalton McGuinty has defended the bill saying, "we can't afford [to raise teachers' pay] right now."

Also on HuffPost:

Loading Slideshow...
  • What Each Province Gets In Equalization

    <a href="http://en.wikipedia.org/wiki/Equalization_payments_in_Canada#Regional_fiscal_disparities_in_Canada" target="_hplink">Here's how much money each province will receive in equalization payments during the 2013-2014 year.</a> Source: <a href="http://www.fin.gc.ca/fedprov/eqp-eng.asp">Department of Finance</a>. (Alamy)

  • P.E.I. - $340 Million

    Per capita: $2,350 (MICHEL VIATTEAU/AFP/Getty Images)

  • Nova Scotia - $1.458 Billion

    Per capita: $1,342 (Tim BREAKMEIE/AFP/Getty Images)

  • New Brunswick - $1.513 Billion

    Per capita: $1,985 (Luke Pinneo/Getty Images)

  • Manitoba - $1.792 Billion

    Per capita: $1,353 (<a href="http://www.flickr.com/photos/jezz/">Flickr: Jezz's Photostream</a>

  • Ontario - $3.169 Billion

    Per capita: $246 (GEOFF ROBINS/AFP/Getty Images)

  • Quebec - $7.833 Billion

    Per capita: $934 (Alamy)

  • Newfoundland And Labrador - No Payments

    (<a href="http://www.flickr.com/photos/60548141@N00/" target="_hplink">Flickr: magnolia1000</a>)

  • B.C. - No Payments

  • Alberta - No Payments

    (MARK RALSTON/AFP/Getty Images)

  • Saskatchewan - No Payments

    (<a href="http://www.flickr.com/photos/justaprairieboy/">Flickr: Just a Prairie Boy's photostream</a>)