The Illinois Supreme Court on Thursday reversed a $1 billion judgment against State Farm Insurance Co. in a class action lawsuit alleging the company used substandard parts to repair damaged cars.

The court held that the lawsuit should never have been given class action status. Differences in customers’ insurance policies meant they did not share the same conditions necessary to sue as a group, justices found.