We are not lawyers. From what we have read, however, and based on the information that has been circulated, the challenge came from the country's main cable distributers and satellite broadcasters. The Supreme Court made its ruling based on a section of the Copyright Act of Canada. I do not know which section though.
On September 27th, 2016. See this statement in context.