Well, the way it's written in Bill C-40 is that it's the attorney general who was responsible for the prosecution or the jurisdiction in which the prosecution occurred. Something along those lines is how it's spelled out in Bill C-40 for the amendments to the code.
On October 31st, 2023. See this statement in context.