Parties should follow South China Sea ruling: Japan