Both Coca-Cola Co and PepsiCo have claimed victory following a court ruling against PepsiCo's Gatorade brand in an advertising dispute between the two soft drinks rivals.