Did the Pentagon take a swipe at Trump by sharing this inspiring story of a Muslim refugee-turned-Marine?
Cpl. Ali J. Mohammed (Source: Department of Defense).

National parks departments may not be the only government agencies sending out defiant tweets intended to annoy President Trump.

On the same day that Trump is expected to announce a broad ban on accepting refugees from certain Muslim-majority nations, the United States Department of Defense tweeted out an inspiring story about a refugee from Iraq who is now serving in the United States Marine Corps.

"From refugee to Marine," the tweet reads. "USMC Cpl Ali J. Mohammed takes the fight to the doorstep of those who cast his family out."

The tweet then links to an article on the Marines' official homepage that explains how Mohammed and his family came to the United States after being targeted by Iraqi insurgents for their role in helping the U.S. government during the Iraq War.

Mohammed subsequently enlisted in the Marines in 2014, and is now serving in Iraq as "a translator with an SPMAGTF Advise and Assist team that supports Iraqi forces as they fight to oust ISIL from their country."

It's not known whether the DoD's social media manager sent out this particular story on Wednesday to tweak the president, although the timing is interesting given Trump's expected new policy on Muslim refugees that would have barred Mohammed from ever entering the United States in the first place.