It is clear to me that an exception to the Criminal Code is a matter of federal jurisdiction. That is why the exception does not need to be described extensively, nor include too many details.
The fact of saying that the Criminal Code may to some degree in this case obtrude on the provincial legislation is not heresy, and Mr. Hogg can confirm that. This could be done in the short term, which does not prevent the federal government from discussing things with the provinces, with regard for instance to having uniform legislation. This has been done in other health-related areas concerning organ donation, for instance. It was agreed to attempt to standardize laws throughout the country and that was done to a certain extent. So this would certainly not be the first time that we discuss standardizing legislation. That possibility exists if we want to respond to the Supreme Court's legislative requirement.
Aside from that, you could resort to a legislative exception, or negotiate with the provinces to agree on a broader regime that would develop the notion of safeguards, accessibility rules, monitoring and so on. I think both can be done. Must everything be included in a single bill? You must also consider managing your time and the content.