Trump gets bittersweet vindication with a surprise twist from an old foe