Supreme Court has ruled Surrey Council should have considered climate change impacts of new oil wells.