Customs and Border Protection told major US airlines Friday night that it is reinstating visas following a federal judge’s decision to temporarily halt President Donald Trump’s travel ban.

CBP is “back to business as usual” prior to the situation that was in place before last week’s executive order, an airline executive told CNN. Airlines are expected as soon as Friday night to start removing travel alerts from their websites and getting messages out to customers to alert them about the change.

Customs and Border Patrol just wrapped a 9p ET call with the airlines, "back to business as usual" as Federal judge in WA blocks travel ban.

Federal Judge James Robart, who presides in Washington state and was appointed by former President George W. Bush, orally granted the temporary restraining order. A written order was issued later in the evening.

Trump’s executive order that he signed last week suspended immigration from seven Muslim-majority countries for 90 days, the US refugee program for 120 days and indefinitely halted Syrian refugees from entering the US.

“This is exactly what we were looking for,” Washington Attorney General Bob Ferguson told CNN’s Anderson Cooper shortly after Robart’s order, adding that “we have a bucket of Constitutional claims.”

“It’s Keystone Cops, the way that thing (the order) was put together,” added Ferguson, who said he was prepared to take his case all the way to the Supreme Court if necessary.

Please enable Javascript to watch this video

This suit was brought by the states of Washington and Minnesota against the travel ban enacted by Trump's executive order.

A Customs and Border Patrol spokesman told CNN the agency will review the order and comply with all court orders. Asked for response, a Justice Department spokesperson would only say, "The department looks forward to reviewing the court's written order and will determine next steps."

"We only challenged the parts that are actually affecting people immediately, which are the parts about refugees and the parts about targeting these seven countries ... the parts that have getting so much attention and have been causing such immediate harm to people, stranding them oversees and such, are enjoined right away," Washington Solicitor General Noah Purcell told reporters.

Washington Gov. Jay Inslee, a Democrat, called the restraining order "a tremendous victory for the state of Washington."

"This ruling is a victory for the Constitution and for all of us who believe this un-American executive order will not make us safer," Schumer said in a statement. "President Trump should heed this ruling and he ought to back off and repeal the executive order once and for all."

Earlier Friday, a federal judge in Boston declined to renew a temporary restraining order affecting Massachusetts that prohibited the detention or removal of foreign travelers legally authorized to come to the US.

Visa complications

Even with the temporary restraining order, the State Department indicated in a letter dated January 27 that all visas for those from the seven Muslim-majority countries -- Iraq, Syria, Iran, Libya, Somalia, Sudan and Yemen -- were "provisionally revoked," so for many travelers, the first step could be to seek a new visa. It is unlikely that many citizens of those countries can just get on a plane and come to the US because they need visas to enter the country.

It is also possible there will be more court activity and an appeal before anyone could act on getting a visa, and it's unclear how long it would take to obtain one.

If the court order is simply telling the US government to allow people with valid visas from the seven affected countries to travel to the US, then Robart's halt will not apply to any of them because all of those people had their visas provisionally revoked by the State Department last week, a federal official with knowledge of the situation told CNN.

CBP has made initial contact with some airlines, which expect to get more guidance as soon as Friday night about the impact of Robart's order, an airline executive told CNN.

The executive said unless CBP changes the rules, nothing is expected to change for US airlines, as they follow the agency's guidelines so they are not fined.

US airlines use an automated system connected to the CBP database to scan passports and visas to get an instant determination if the passenger can board or not. Unless the government reinstates visas and the airlines get a "board" status, the airlines still will not allow such passengers to board.