The top court made the observations while setting aside an April 2022 order of the National Green Tribunal