A federal appeals court has ruled that the Environmental Protection Agency under the Trump administration improperly ended billions of dollars in climate funding, a closely divided decision that represents a setback for the White House.

The case centred on money allocated to climate and clean-energy programmes, including an initiative often described as a green bank. The administration had moved to terminate the funding, but the court concluded that the EPA’s action was improper and did not satisfy the legal requirements that apply to such decisions.

The court’s choice of language is significant. By describing the termination as improper, the ruling indicates that the agency overstepped its authority rather than simply adopted a policy with which the judges disagreed. The decision was closely divided, which signals that the legal questions were finely balanced and that the judges themselves did not view the case uniformly.

The dispute sits within a broader pattern of legal clashes over executive power and federal spending. In the United States, Congress controls the public purse, and attempts by the executive branch to cancel or withhold money that lawmakers have directed to be spent often end up before the courts. These cases have become an important arena for disputes over the direction of federal climate policy.

The funding at issue was intended to support clean-energy projects, particularly through green banks. Green banks are public or nonprofit institutions that use public capital to attract private investment in low-carbon infrastructure. They reduce the financial risk of projects such as solar panels, energy-efficiency improvements and emissions-cutting technology, making it easier for private lenders and investors to back them.

The EPA, the federal agency responsible for enforcing environmental laws, was at the centre of the dispute. The money had been allocated to projects designed to reduce greenhouse gas emissions and expand clean energy, goals that the administration’s decision to end the funding put in doubt. The ruling restrains that effort, at least for now.

For recipients, the decision offers some relief, although uncertainty remains. The practical effect may depend on whether the money is released and how quickly, and on whether the administration chooses to challenge the ruling. Further proceedings could still delay the restoration of the funds.

Environmental advocates are expected to treat the outcome as a defence of congressionally approved climate programmes, while officials in the administration may view it as an obstacle to their agenda. Whatever follows, the decision makes clear that the battle over billions of dollars in climate funding is not yet over.