One piece that might be relevant to you is where deferred prosecution agreements came from. They don't come into Canadian law through immaculate conception. They come as government bills, because there was a cabinet discussion—
On February 21st, 2019. See this statement in context.