With his executive order on hold by order of a U.S. appeals court, President Trump said he was considering signing a new executive order for his plan to bar people traveling from seven Muslim-majority countries.

Trump told reporters on Air Force One that he's confident he'll win in court, but he has other options as well. 

Trump said the new order would change very little and may come next week.

Trump is headed to South Florida, where he will host Japanese Prime Minister Shinzo Abe at his Mar-a-Lago estate.

On Thursday a federal appeals court in San Francisco upheld a lower court ruling blocking the executive order.

The executive order suspended the country's refugee program and barred travel to those coming from seven Muslim-majority countries. 

The program's roll-out led to confusion, frustration and protests at the nation's airports as hundreds were barred from entering the country and others were deported.

Several states sued to stop the order.

The Justice Dept. argued the president had wide powers to grant orders like this one in matters of national security, and the orders were unreviewable.

However, the federal appeals judges ruled that was not the case.

"Although our jurisprudence has long counseled deference to the political branches on matters of immigration and national security, neither the Supreme Court nor our court has ever held that courts lack the authority to review executive action in those arenas for compliance with the Constitution," the ruling said. "To the contrary, the Supreme Court has repeatedly and explicitly rejected the notion that the political branches have unreviewable authority over immigration or are not subject to the Constitution when policymaking in that context."

President Trump replied to the ruling last night, tweeting "SEE YOU IN COURT, THE SECURITY OF OUR NATION IS AT STAKE!"

Information from the Associated Press was used in the report.