The Army says it plans to detonate nearly five tons of degraded lead azide at the Iowa Army Ammunition Plant on Wednesday, despite a federal judge’s temporary order halting the operation and objections from local residents and environmental groups.

The Army says the explosive material has recrystallized in storage containers, increasing the risk of spontaneous detonation. The federal government argues a planned blast is the safest treatment, though it acknowledged that a controlled detonation would release lead dust. Residents and activists fear contamination could affect nearby communities, groundwater and the environment.

The material has been stored at the World War II-era plant in southeastern Iowa, which covers about 19,000 acres and borders Middletown, a town of about 400 people. The Army notified the Environmental Protection Agency on or about March 12 that the lead azide had degraded, according to court filings. The filings say the Army had activated a multi-agency working group in January to consider treatment options.

A March contract with Georgia-based MuniRem Environmental, which uses chemicals to neutralize munitions without detonation, was canceled two months later over safety concerns, according to court filings. The Army said detonation was the only safe treatment method, citing a technical consensus among military and federal explosive safety authorities. MuniRem chief executive Valentine Nzengung told CNN the Army said it had reviewed reports and determined controlled detonation was safest, but “They did not provide us much more detail than this.”

The EPA issued a permit effective November 13 authorizing continued storage and a controlled detonation. It required the Army to collect samples and monitor conditions before, during and after the blast, notify the public, carry out cleanup and report on the work. The Army initially announced a detonation for November 20 and told residents to leave the area for most of the day.

Less than 20 hours before the planned blast, the Iowa Environmental Council and Sierra Club asked the Court of Appeals for the Eighth Circuit to halt the EPA permit. They argued the detonation could expose residents to toxic lead before safeguards and alternatives, including chemical neutralization, had been reviewed. The groups also said the permit did not provide adequate protection against contamination or sufficient information, monitoring and cleanup measures for “vulnerable populations, including pregnant women and children,” and “cattle, chicken, and other animals.”

A judge granted an emergency stay on the day the request was filed. The Army then postponed the operation, first to November 23 and later to November 24, according to court filings.

On November 22, the federal government asked the appeals court to lift the pause, arguing that the risk of an uncontrolled explosion posed a greater danger. It said the crystallized material could explode if the crystals broke, which court filings say could happen more easily in freezing temperatures.

“The choice therefore is not between a detonation and no detonation. It is between a planned detonation (timed for favorable weather, preceded by public notice, and followed by monitoring and cleanup) and an unplanned explosion that could come at any moment, with no warning and no safeguards,” the government argued.

The government said a controlled blast would release lead dust but called it “the only way to minimize the release.” It also argued that EPA regulations allowed the Army to proceed without a permit, even while the permit was stayed.

In a tweet late Sunday, the Army said it was postponing the detonation again, to Wednesday, “to allow for optimal weather conditions and all mitigation measures to be emplaced.” It added, “The health and safety of all Americans has and always will be our first priority.”