The two are related.
> If you look at, say, France, in the same time they've had their revolution
A major factor in which was allegations of the King conspiring with the governments of peer rivals against the interests of his subjects.
> then Napoleon
Who rose to power through (and as the Directory was bankrupted by) the Coalition Wars.
> then back to monarchy,
Imposed by the victors after Napoleon’s Empire was defeated in interstate war.
External security and domestic stability are not unrelated.