Sure. I won’t move the goalposts too much here, and will accept that I was overly specific,… but I legitimately would describe that as separate from an invasion, and instead call that peacekeeping or something else.
Invasion to me seems like imperialist action to further political or territorial goals.
Unless the assassination, for random example, starts a civil war, because the people the imperial power wanted in charge ended up not having enough support to stay in charge.
But what if a country is invading another country so they will stop invading a country, blocking the attempt by the invaded and invading country to build a revive machine that takes up exactly the same space as it and the invaded country combined to revive hitler?
Yeah, that’s a nasty military failure, but the Cuban communists were not the bad guys in that period, relative to the other powers in Latin America. I don’t actually know anything about Trujillo, but I bet I can make good guesses about what kind of leader he was.