Russia’s war and China’s military build-up are provoking an unprecedented change in Japan’s approach to its defence.