Yes, mostly. Because the legislator had removed the discretionary power to impose the surcharge or waive it, some situations could generate disproportionate sanctions that amounted to cruel and unusual punishment, which breached section 12 of the Canadian Charter of Rights and Freedoms. In summary, that was the gist of it.
On September 25th, 2018. See this statement in context.