A Manhattan federal judge ruled Wednesday that the Trump Corp. will have to defend claims in a proposed class action that it had illegally profited from knowingly promoting doomed products and services to unsophisticated investors across the country.

The ruling, from U.S. Judge Lorna G. Schofield of the Southern District of New York, jettisoned federal racketeering claims from the suit, which alleged that members of President Donald Trump’s family for years had operated a multilevel marketing scheme that cost consumers millions of dollars in investments.