McKinsey & Co. goes to court later this month to convince a federal judge to dismiss a large portion of lawsuits filed over its consulting work for opiate manufacturers—and it’s got the U.S. Chamber of Commerce and nearly a dozen states on its side.

McKinsey faces about 100 lawsuits from cities, counties, school districts, unions, Native American tribes and others, all coordinated in multidistrict litigation in California’s Northern District. The consulting firm, which is based in New York and incorporated in Delaware, has moved to dismiss 62 cases because they lack personal jurisdiction. Also, according to McKinsey, cases in 22 states should be dismissed because their claims were settled in 2021 as part of a $642 million agreement with attorneys general in 50 states, the District of Columbia and five U.S. territories.