President Trump's signing of "Make America Great Again" hats during his whirlwind trip to visit troops in Iraq didn't violate regulations prohibiting a mix of political and military activities, The United States Air Force in Europe says.

Trump's trip earlier this week included a stop at Ramstein Air Base in Germany for refueling, where military members met with the president and brought their personal belongings for Trump to sign. The gesture quickly drew derision from the likes of CNN and others, citing potential violations of military regulations governing service members and political activities. For the Air Force, the governing regulation is AFI 51-902, Political Activities by Members of the U.S. Air Force .

But it includes no specific mention of incidents like Trump's impromptu hat-signing, according to Military.com. Nor is their any indication any of the regulation applies to a sitting president and commander in chief.

"There is no rule against Airmen bringing personal items to be signed by the president," USAFE said. "Any time the commander in chief offers the opportunity to meet with Airmen, such as this official holiday visit by the President and First Lady, Airmen are welcome to participate. No policy violations have been brought to our attention at this time."

Click for more from The Washington Examiner.