In short it may be said that on paper the obligations to settle international disputes peacefully are now so comprehensive and far-reaching that it is almost impossible for a state to resort to war without violating one or more solemn treaty obligations.
It is true you cannot eat freedom and you cannot power machinery with democracy. But then neither can political prisoners turn on the light in the cells of a dictatorship.