Mexico's Supreme Court has ordered a local soft drink company to give up land it has occupied for decades, dealing a blow to bottlers facing intense international competition.