Documents seized during a March raid on the Munich office of Jones Day cannot be used by German prosecutors investigating the Volkswagen emissions scandal, a German high court has ruled.

Authorities raided the office of the firm, legal adviser to VW, in March—a move that VW called a “clear violation of legal principles.”