Prosecutors can wipe their brows and let loose with a collective “whew.”

The California Supreme Court on Thursday held that juvenile adjudications can be used to increase adults’ criminal sentences, reversing an appellate ruling that had stunned the prosecutorial community.