Judges having sentencing guidelines is fine (I would expect any civilized judicial system to implement something of that sort), but having third parties who weren’t part of the trial (nor the case itself for that matter) affect sentencing via letter-writing or the like is not OK.