On Tuesday, a federal judge in New York granted an emergency request by the U.S. Government to temporarily halt the sale of blue paint in the United States.

The judge ruled that the paint is an invasion of privacy and a threat to national security, as well as a violation of the U-Haul Act, which prohibits interstate commerce of goods containing hazardous chemicals.

In a brief, attorneys for the Government argued that the sale and purchase of blue paints, a key component of a broad array of products sold in the U, has caused “irreparable harm” to the environment and the economy, and should be stopped immediately.

“The blue paint is a dangerous and highly toxic chemical that poses a direct threat to human health and the environment,” Assistant Attorney General James B. Pohl wrote in the brief.

This is not the first time the Government has attempted to block the sale or purchase of this product.

A similar case against blue paint was brought to federal court in 2014 by the environmental group Environmental Working Group (EWG).

The case was settled out of court in 2015 after an $85 million judgment was paid out.

Under the court’s ruling, a judge can block a sale and/or purchase by making a finding that the products pose a threat of “irrevocable damage to the public interest” and that there is a “substantial likelihood that the product will be sold or sold to another entity.”

The Department of Justice, however, did not make a similar finding in its case.

Instead, the DOJ argued that blue paint poses a substantial risk to public health and a “serious threat” to national safety.

It argued that this case “is not about the protection of the environment or public health, but rather about protecting U. S. economic interests, particularly those of the manufacturers of this paint.”

“These products are used in a variety of industries, including agriculture, manufacturing, construction, and many others, and are used to paint buildings and homes, which are highly vulnerable to damage by chemicals,” the DOJ said.

Despite the court ruling, however,” this case will be appealed,” a spokesperson for the DOJ told ABC News.

On Monday, the Department of Energy issued a statement to ABC News saying that while the Department was not seeking a temporary restraining order, “the Department is reviewing the court decision and will continue to vigorously defend the interests of the American people in the protection and preservation of their natural resources.”

Last week, the Government also asked a federal court to order a temporary halt to the sale, possession, and purchase in the country of blue dye that is used in paint.

ABC News’ Jodi Lee and The Associated Press contributed to this report.