SCOTUS got it right today.