> overthrow of the Ukrainian government and spiraled into a civil war in Donbas
There was no "overthrow". President, prime minister, other members of the government disappeared (later appeared in Russia), so fail-safe mechanisms, already present in the law, were enacted.
There was no "civil war" -- it was Russian invasion from the start.