A court has given the green light to BHP’s bid to extend a Queensland coal mine over the objections of an environmental lobby group, saying the court’s acceptance of climate change did not mean it would reject all applications for fossil fuel projects.