New government guidance on fracking is unlawful, the High Court has ruled.
Campaign group Talk Fracking argued that the government had not considered the latest scientific evidence when formulating its policy.
Ministers have been advising councils that gas from fracking in their area would help combat climate change.
But a judge found that the government had failed to consider the latest evidence.
Justice Dove ruled that “material from Talk Fracking, and in particular their scientific evidence as described in their consultation response, was never in fact considered relevant or taken into account” when formulating the revised policy.
He also ruled that the government had unlawfully failed to carry out a lawful public consultation when the policy was revised.
Claire Stephenson, who brought the claim on behalf of Talk Fracking, said: “We are delighted that the court has agreed in part with our arguments that the government’s policy on fracking is unlawful.
“The government have continually sought to ignore public opinion on fracking, despite the overwhelming opposition on a national level.
Planning guidance issued by the government last year says local councils should “recognise the benefits of on-shore oil and gas development … for the security of energy supplies and supporting the transition to a low-carbon economy.”
It adds that planning authorities should “put in place policies to facilitate their exploration and extraction.”
What is fracking?
Fracking is the process of drilling down into the Earth before a high-pressure water mixture is directed at the rock to release the gas inside.
Water, sand and chemicals are injected into the rock at high pressure which allows the gas to flow out to the head of the well.
Fracking allows drilling firms to access difficult-to-reach resources of oil and gas.
The government believes shale gas has the potential to provide the UK with “greater energy security, growth and jobs” and says it “could be an important part of our transition to a low carbon future”.
But campaigners say fracking is distracting energy firms and governments from investing in renewable sources of energy.
Talk Fracking argued that ministers had failed to take into account the latest evidence which it said raised doubt over fracking’s “low carbon” credentials.
Rowan Smith, solicitor from Leigh Day representing Talk Fracking, said: “What is clear from this judgment is that the Government has to keep climate change science under review when formulating fracking policies in an open and transparent way.”
The BBC has contacted the Department of Housing, Communities and Local Government for comment.