Animal rights groups have used footage gained secretly in barns to advertise cases of animal cruelty.
The Ontario government passed legislation in 2020 that bans undercover investigations in meat-packing plants and farms.
Similar laws in other jurisdictions across North America have been thrown out when challenged in courts.
The Ontario lawsuit also challenges restrictions on peaceful protests outside slaughterhouses where animal activists have bothered truckers delivering pigs for slaughter. One activist seeking to offer water to pigs died when struck by a truck delivering hogs in Burlington.
Animal Justice is joined in the case by journalist Jessica Scott-Reid and animal advocate Louise Jorgensen of Toronto Cow Save.
The court case begins Monday at the Superior Court of Justice at Queen and University streets in Toronto.