As with most advice dispensed by Donald Trump to fellow world leaders, it was blunt, brief – and probably unwelcome.