Court throws out city’s suit against fish law