True, but arguments for just ignoring this are so reminiscent of feeble and cowardly responses to aggression by dictators in the past that people are going to be uneasy with advice to just not look at what's going on.
If your nationals in x country’s lives are threatened, you have every right to remove the threat and save lives.
America did this in Grenada. Now it may be reasonably disputed whether a threat to Russian and Russian speakers existed at all in Ukraine but Russia felt better safe than sorry.
And its not a reversion to 19th Century notions of force to maintain some forms of force have a higher place under international law than others. Ensuring people’s safety is always to be commended.