Somalia is one of the seven countries President Trump placed under a U.S. immigration ban recently.

So just imagine the grimaces when the newly-appointed President of Somalia, Mohamed Abdullahi Farmajo, received a "Make Somalia Great Again" hat from the U.S. Ambassador to Somalia, Stephen Schwartz.

The hat gifted to the president had a blue and white colourway (as opposed to the usual red), matching the Somalian flag.

Seems kind of inappropriate, what with the travel ban and all.

US2SOM Amb Schwartz had a fruitful mtng w Pres Farmaajo 2day + presented the Pres with a cap "MAKE SOM GREAT AGAIN" https://t.co/rXHgpWFp pic.twitter.com/EWFdrRipv3 — U.S. Mission-Somalia (@US2SOMALIA) February 17, 2017

President Farmajo spent more than 20 years of his life in America. He himself sought asylum in 1988 while working at the Somali embassy in Washington D.C. His last job in the U.S. was Commissioner for Equal Employment at the New York State Department of Transportation.

Now president, Farmajo told Voice of America recently he'd try and change Trump's mind on the immigration ban.

"It is part of my responsibility to talk about this issue with the U.S. government by conveying our message to the president and his government that the Somali people are really good, hard working people," Farmajo told the news outlet.

"They raise their families in the United States. So we will see if he can change that policy and exclude Somalis from that list."

While President Farmajo was diplomatic in his receipt of the hat, others on Twitter were taken aback by the awkward (to say the least) gift.

The @US2SOMALIA actually tweeted this completely inappropriate hat. And yes #Somalia is on the ban list. WTF. https://t.co/Gbi5C4envy pic.twitter.com/kzGYcCvqrf — Katrina Jørgensen (@Veribatim) February 18, 2017

@US2SOMALIA last place on earth the US should be pushing Trump propaganda. Very disrespectful of Somalia, Somalis and Africa. — Delalorm S Semabia (@Delalorm) February 18, 2017

Humor aside, hat is TERRIBLE diplomacy. "Greater Somalia" has a historic meaning — notion of taking territory from Ethiopia and Kenya https://t.co/VIBVmP23LN — David Burbach (@dburbach) February 18, 2017

@TheVillaSomalia:Thanks for accepting this hat in dignified & presidential manner. However, it doesn't belong in our @TheVillaSomalia #Peace — Safia Ahmed (@SafiaNurAhmed) February 18, 2017

There was no discussion about the questionable hat between the president and the U.S. ambassador, however. Just a chat about security and drought in the country.

Had a very productive meeting with #US Ambassador to #Somalia Stephan Schwartz. Discussed drought response & security sector reform. https://t.co/rXHgpWFpi0 — Mohamed A. Farmaajo (@M_Farmaajo) February 17, 2017

*Facepalms forever*