Department of Justice building
Department of Justice buildingiStock

The U.S. Justice Department plans to appeal a federal judge's decision to block President Donald Trump's latest travel ban, The Associated Press reported Tuesday.

In a statement, Justice Department spokesman Ian Prior said the Department will appeal the ruling "in an expeditious manner."

The White House blasted the ruling, calling the order "dangerously flawed."

White House press secretary Sarah Huckabee Sanders said the Hawaii court's decision "undercuts the president's efforts to keep the American people safe and enforce minimum security standards for entry into the United States."

Earlier, Judge Derrick Watson of the federal district court in Hawaii temporarily blocked the majority of Trump’s travel ban from taking effect.

Trump’s order, which was set to take effect on Wednesday at 12:01 a.m., indefinitely banned immigration into the U.S. by nationals of Iran, Libya, Syria, Yemen, Somalia, Chad, and North Korea, as well as certain government officials from Venezuela.

Watson's order blocks all the restrictions except with respect to Venezuelan officials or immigrants from North Korea and determined the ban suffers from the same maladies as the previous order, which temporarily banned travel from six majority-Muslim countries.

Sanders said the restrictions are "vital" to ensuring foreign nations comply with U.S. security standards.

U.S. officials maintain that the restrictions in the new travel ban are based on an objective worldwide review, not based on origin or religion.

Trump's travel bans are temporary, until proper vetting procedures – a central campaign promise of his – can be implemented.