An appeals court has dismissed an environmental advocacy group’s challenge to the extension of two Mach Energy and Whitehaven Coal mega coal mines in NSW, saying the current environmental laws are “ill-suited” to dealing with the global threat of climate change.