A federal judge in San Diego has ordered the state of California to hand over confidential cannabis license information to the U.S. Drug Enforcement Administration.

U.S. Magistrate Judge Linda Lopez of California’s Southern District on Monday validated DEA subpoenas for cannabis licenses, license applications and shipping manifests related to three unnamed marijuana companies and three individuals. The state’s Bureau of Cannabis Control had refused to give the DEA those documents, arguing in court filings that the federal agency did not provide an adequate explanation for why its agents wanted the paperwork.