You mentioned dealing with what actually is. I agree you should rethink your position that violation of international law in the manner of one country invading another's borders and there being an appropriate response to that, is not illegal.
The 2022 Russian invasion of Ukraine violated international law (including the Charter of the United Nations).[8][9][10][11] The invasion has also been called a crime of aggression under international criminal law,[12] and under some countries' domestic criminal codes – including those of Ukraine and Russia – although procedural obstacles exist to prosecutions under these laws.[13][14]
This article discusses the international and domestic legal provisions Russia is said to have violated, as well as the legal arguments Russia has made to justify its invasion and the responses of legal experts to those arguments. The legality of the Russian invasion per se is a distinct subject from whether individual political officials or combatants have engaged in war crimes or crimes against humanity.