Key oil project must count full climate impact - court