Spain's Supreme Court is to hear an appeal by Bacardi for the rights to the Havana Club rum trademark in the country.