OKay people...just imagine this as a hypothetical. I'm not saying this has ever happened...but just imagine it.
let's say there are 2 countries which border each other. Country A and country B.
the leader of country A decides he wants to improve relations with country B.
In response, a third country, country C, organizes a coup in country A...and replaces its leader with another one that wants to cut off relations with country B and instead enter into an alliance of countries which are hostile to country B.
In this hypothetical...is it reasonable for country B to consider the coup an act of war by country C? Should the citizrns of country A perhaps regard themselves as occupied by country C? And is it even perhaps readonable for country B to invade country A in support of the citizens there who still want good relations with country B?