A Rare Civil-Rights Victory at the Court.