SAN FRANCISCO (AP) — A federal appeals court has banned the Justice Department from prosecuting medical marijuana cases if no state laws were broken.

A three-judge panel of the 9th Circuit Court of Appeals in San Francisco ordered the federal agency Tuesday to show that 10 pending cases in California and Washington state violated medical marijuana laws in those states before continuing with prosecutions.

Marijuana remains illegal under federal law, but Congress has barred the Justice Department from spending money to prevent states from regulating the use or sale of medical pot.

Federal prosecutors argued unsuccessfully that Congress meant only to bar the department from taking legal action against states and that it could still prosecute individuals who violate federal marijuana laws.

The court ordered trial judges to conduct hearings to determine if prosecutions can continue.

More From News Talk KIT