A U.S. magistrate judge on Thursday sided with federal prosecutors in dismissing a lawsuit by the city of Oakland that challenged as illegal federal attempts to shutter the nation's largest medical marijuana dispensary. In filing the suit last October, Oakland became the first city to take on federal enforcement actions that have led to the closure of hundreds of dispensaries in recent years.