A judge on Thursday dismissed portions of a U.S. Securities and Exchange Commission lawsuit against Volkswagen Group related to the German automaker’s diesel emissions scandal.

U.S. District Judge Charles Breyer in San Francisco granted the automaker’s dismissal motion, apart from its request to strike the SEC’s effort to obtain injunctive relief and disgorgement.

The judge also rejected former VW CEO Martin Winterkorn’s motion to dismiss SEC claims against him.