Oil and gas company had challenged 2021 ruling that it must reduce greenhouse gas emissions by 45% by 2030