Ontario's top court has ordered a new hearing for a youth-led constitutional challenge of the provincial government's emissions target.