China has lodged a formal protest with Japan after Tokyo joined 13 other countries in reaffirming the 2016 Hague ruling that rejected Beijing's sweeping South China Sea claims.