I believe the Criminal Code as written can respect the rights of all citizens. I do not believe imposing such restrictions on judges is a good idea.
Yes, we live in a democracy, but I am not sure what the catalyst is or what the need is for such legislation when the crime rate is not going up and there is absolutely no proof that this will reduce crimes of this nature.