Japan is seeking to balance its strong support for the rule of law with its need to maintain its robust alliance with the U.S.