Basically have a situation where a country gets invaded for strategic purposes as part of a larger war, only to immediately switch sides and join the invader.