On Wednesday, it filed a claim in U.S. Court to stop the federal government’s efforts to shut down Berkeley Patients Group, the city’s largest medical cannabis dispensary.

The claim conteds that the closure of BPG will materially harm the city because it will mean the loss of hundreds of thousands of dollars in tax revenue. In addition, shuttering BPG, which serves 10,000 patients, will result in the proliferation of unpermitted dispensaries and more illegal street sales of marijuana in Berkeley, according to the claim, which was filed in U.S. District Court.

It will also undermine Berkeley’s efforts to create an orderly and permitted process to control the sale and distribution of medical cannabis in the city.

“The claimed property is vital to the safe and affordable distribution of medical cannabis to patients suffering from chronic and acute pain, life threatening and severe illnesses, diseases and injuries within the city of Berkeley, and to the city of Berkeley’s ability to control and regulate medical cannabis within its community,” reads the suit.