After a court sided with the airlines, an appeals court overturned that decision.