The judge said offenders are not being dealt with firmly enough under existing laws, which has weakened the deterrent effect of punishment.