The Supreme Court ruled Thursday that judges do not have to notify defendants and prosecutors when contemplating a prison term outside the range called for in federal sentencing guidelines.

The 5-4 decision dealt with the fact that the guidelines are no longer mandatory, giving judges more flexibility in sentencing.