Saudi Arabia and the UAE said that oil remains a cornerstone of the world's energy supply, days before the COP27 climate summit kicks off in Egypt next week.