A ruling will decide whether Heathrow’s expansion plan should have taken the climate more into account.