It was not the first online intervention by Elon Musk, the entrepreneur and adviser to Donald Trump, on behalf of once-fringe anti-immigrant parties in Europe.
Foreign leaders have rushed to ingratiate themselves with Donald J. Trump in recent days, nervously recalling the clashes, insults and feuds of his first presidency.