The Supreme Court ruled Wednesday that Domino’s Pizza could not be sued for racial discrimination by a businessman whose company had a contract with the chain.

The court, in an 8-0 decision, said that because the contract was with John McDonald’s company, not McDonald personally, he could not bring an individual civil rights claim.