"Invasion"? No. Managing an "occupation", maybe.
But look what the US left behind when it withdrew from those nations. Independent, stable, wealthy, democratic, growing, peaceful countries which now rank high on most development indices.
Nation-building is the best term in these two cases, regardless of the circumstances of "entry"