Even as the court fight continues over his initial executive order that aims to protect Americans from terrorists, President Trump issued a revised order Monday that makes adjustments based on some of the court’s objections.

However, Attorney General Jeff Sessions said at a news conference that the first order, as well as the second, are fully constitutional, exercising the president’s constitutional authority to protect the nation.

“More than 300 people … who came here as refugees are under an FBI investigation today for potential terrorism-related activities,” said Sessions.

A total of 1,000 counter-terrorism investigations involving ISIS or individuals inspired by the terror group are currently under way, congressional sources confirmed to Reuters on Monday, citing senior administration officials.

The primary difference in the second order is that Iraq has been removed from the list of seven terror hotbeds from which entry is banned for 90 days because of inadequate screening. The previous order, issued in January, had prevented arrivals from Iraq, Iran, Somalia, Sudan, Yemen, Syrian and Libya.

The second order also excludes the indefinite ban on Syrians, does not affect green-card holders and approved visa-holders, and makes no reference to religious minorities. The effective date also has been adjusted.

In Trump’s announcement, he sets out as a goal the enforcement of all laws for entry into the United States and “increasing transparency among departments and agencies of the federal government and for the American people.”

Entry from the six nations will be suspended for 90 days as the administration examines the vetting process.

Sessions said the nations affected are state sponsors terrorism or safe havens for terrorists.

“This executive order seeks to protect American people as well as lawful immigrants by putting in place enhanced screening [on those who come from] state sponsors of terrorism, or safe havens.”

Secretary of State Rex Tillerson said Iraq has been removed from the list because it is implementing measures to address security.

“We cannot compromise our security by allowing visitors entry when their own governments are unable or unwilling to provide the information we need to let them in,” Sessions explained.

“The executive is empowered under the Constitution and by congress to make national security judgments and enforce our immigration policies in order to safeguard the American public.” he said.

“Terrorism is a danger to America and our people.”

Trump’s order cited the Constitution, the Immigration and Nationality Act (INA), 8 U.S.C. 1101 et seq., and section 301 of title 3, United States Code.

He explained what is needed to protect Americans is “to enhance the screening and vetting protocols and procedures for granting visas, admission to the United States, or other benefits under the INA”

“For that reason, in the executive order entitled, ‘Protecting the Nation from Foreign Terrorist Entry into the United States,’ and issued today, I directed the Secretary of Homeland Security, in consultation with the Secretary of State and the Director of National Intelligence, to conduct a review to ‘identify whether, and if so what, additional information will be needed from each foreign country to adjudicate an application by a national of that country for a visa, admission, or other benefit under the INA (adjudications) in order to determine that the individual is not a security or public-safety threat.’”

While protocols are developed to prevent “the entry into the United States of foreign nationals who may aid, support, or commit violent, criminal, or terrorist acts,” he said, the dangers are great.

Iran, he explained, “has been designated as a state sponsor of terror,” Libya “is an active combat zone, with hostilities between the internationally recognized government and its rivals,” Somalia has provided “safe havens” for terrorists, Sudan, too, is “a state sponsor of terrorism,” Syria likewise has held that designate since 1979, and Yemen “is the site of an ongoing conflict between the incumbent government and the Houthi-led opposition.”

“In light of the conditions in these six countries, until the assessment of current screening and vetting procedures required … is completed, the risk of erroneously permitting entry of a national from one of these countries who intends to commit terrorist acts or otherwise harm the national security of the United States is unacceptable high. Accordingly, while that assessment is ongoing, I am imposing a temporary pause on the entry of nations… subject to categorical exceptions and case-by-case waivers.”

The new order takes effect in about 10 days and will include a 90-day ban on travelers from those countries and 120 days for refugees.

The case over the previous executive order is sitting now before the much-overturned 9th Circuit Court of Appeals in California, which has refused to allow the protections to be implemented while the case is under way.

Secretary of State Rex Tillerson said while no system is infallible, the American people should be confident the Trump administration is trying to eliminate the possibility that “radical Islamic terrorists” can exploit America’s laws to attack.

Secretary of Homeland Security John Kelly said: “We must undertake a rigorous review of our visa and refugee vetting programs to increase our confidence in the entry decisions we make for visitors and immigrants to the United States. We cannot risk the prospect of malevolent actors using our immigration system to take American lives.”