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.