The attack comes just after Japan joined Western allies in clamping down on Russia due to its invasion of Ukraine.