Court rules against cities in fishing suit