On Tuesday , China said it was within its rights to continue drilling in the area , but was willing to negotiate with Japan over the territorial waters .