The European Union has upheld France's right to ban Red Bull.