OAKLAND (CBS / AP) — An Oakland medical marijuana dispensary that bills itself as the nation’s largest has won the first round in its fight to stay open amid a federal crackdown.

A California judge ruled last week that Harborside Health Center’s landlord can’t evict the pot shop even though the U.S. attorney for Northern California is threatening to seize her property.

READ MORE: Santa Clara Shoe Store Ransacked in Late Night Smash-and-Grab Robbery

Superior Court Judge Evelio Grillo said Ana Chretien’s claim that Harborside has to go because it is engaging in illegal activity doesn’t hold up because state law allows nonprofits to distribute medical marijuana.

The dispensary’s victory may be short-lived, though.

READ MORE: San Leandro Police Arrest 2 Suspects -- Age 12 and 13 -- in Armed Carjacking

Chretien also has asked a federal judge to order Harborside to stop growing and selling marijuana in her building. A hearing is scheduled for Dec. 20.

Her lawyer said she is considering whether to appeal Grillo’s decision.

MORE NEWS: 850 Additional Parking Spaces To Open At Antioch BART Station

(Copyright 2012 by CBS San Francisco. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)