Diageo has confirmed reports that it has won a piracy case in China.