President-elect flexes muscles on world stage after securing brace of legal wins