The electorate would have the opportunity to vote on the military action, and refuse it. Or worse, if the democratic process takes several days, the government would have to turn the tanks around halfway through the invasion.

You would need to be fairly sure your invasion is justifiable (at least to your own subjects) before you start it.

It’s just one of the more minor ways that democracy would improve the world.