The official Xinhua news agency quotes a spokesman for the Chinese foreign ministry says the royal couple 's visit to the Korean war memorial shows that Japan correctly understands its history of wartime aggression .