From his perspective and the perspective of his nation, yes. He is responding how any leader would respond to the presence of an external threat on their borders and shores. The fact that his domestic propaganda narratives are laughable and ridiculous is not proof of irrationality.