Judge denies council’s appeal on fired police officer