honestly I think the best metaphor for this debacle is the Russo-Japanese war:
-idiot ruler with delusions of grandeur
-empire wants to show a middle power whos in charge
-negotiators are idiots
-imperial logistics are all fucked up
-empire surrenders to middle power after defeat