An appeals court in Spain has thrown out a bid from Bacardi to claim the local trademark rights to Havana Club rum.