The Supreme Court issued an opinion today on a dispute over promotions among firefighters in New Haven Conn., siding with white and Hispanic firefighters. Black firefighters there had uniformly low scores on a promotion test and New Haven, fearing a discrimination lawsuit, tossed out the results and didn’t offer any promotions. Instead, the city got a lawsuit from the white and Hispanic firefighters who said the city was practicing discrimination against them by not awarding their merited promotions.

“Fear of litigation alone cannot justify an employer’s reliance on race to the detriment of individuals who passed the examinations and qualified for promotions,” Justice Anthony Kennedy said in his opinion for the court. He was joined by Chief Justice John Roberts and Justices Samuel Alito, Antonin Scalia and Clarence Thomas.

The opinion, opposed by most of the high court’s more ideologically liberal members, overturned a lower court’s decision that had the endorsement of Supreme Court-nominee Sonia Sotomayor – who will likely be confirmed as a justice by summer’s end.