Austrian energy drink maker Red Bull has claimed victory in a trademark legal battle with a Swedish drinks firm SM Group.