Time is running out for Japanese diplomacy — and possibly for the future of the Earth, too.