The airline was forced to return the £40 (€50) fee it charged a passenger, plus interest, when her hand luggage was deemed to be above the airline’s baggage limits.
The passenger had been travelling on a Liverpool to Alicante flight at the time.
Judge Luis Fortea Gorbe said he used article 97 of Spain’s Law of Air Navigation to make his decision.
The court ruling states: “The transport provider will be obliged to transport free of charge in the cabin, as hand luggage, the objects and bags travellers carry with them, including items acquired in airport shops.
“Those objects and bags can only be turned away for safety reasons, linked to the weight and size of the objects, in relation to the characteristics of the plane.”
READ MORE: Flights: Dog on plane surprises passengers