A Chinese state media outlet on Wednesday criticized President Trump's executive order barring refugees and people from seven predominately Muslim countries from entering the U.S.

The official Xinhua News Agency said the president's order "shows that his administration has no correct recognition of the responsibility it needs to shoulder in a global fight against terrorism," Reuters reported.

"Radical elements around the world could use the ban to further justify their ruthless causes, and to gain more recruits," Xinhua said.

ADVERTISEMENT

"That is a grave threat not only to the safety and security of the United States, but that of others worldwide.

"Banned countries on the list, such as Iraq, Libya and Syria, have been victimized by terrorism because previous U.S. governments and other Western powers deliberately intervened for self-interests," it added.

The Chinese government has previously said in response to the travel ban that it believes "adjusting immigration and entry and exit policy is an act within each country's sovereignty," but added that the country must consider "reasonable concerns of relevant countries."

On Tuesday, federal judges grilled lawyers on both sides of the president's immigration order as they weighed whether it should be reinstated.

The San Francisco-based U.S. Court of Appeals for the 9th Circuit is debating whether it should lift a temporary restraining order freezing Trump's travel ban while lawsuits challenging the order's constitutionality proceed.

The order had faced backlash from many lawmakers and has spurred protests across the country. The president and his team have said the order is necessary to keep the country safe.