Japan has reason to be concerned about its security guarantees.