Although the SMRs are not legally binding, various UN and other international bodies, as well as many non-governmental organizations, use them as a guide during inspections, and as a blueprint when giving advice to nations.
Additionally, the Convention Against Torture, which is legally binding, includes provisions some of which affect treatment of prisoners. Canada has made torture a crime under the Criminal Code (art. 269.1).