Hangzhou Wahaha Group Co. has won a legal ruling over its dispute with Chinese joint-venture partner Groupe Danone regarding the ownership of the Wahaha brand in the country.