The company expects "regional refining margins to maintain an elevated level in 2023 over pre-2022 levels amid ongoing refinery shortages, despite demand growth woes" in an earnings statement.

The refiner, whose largest shareholder is Saudi Aramco, added it anticipates the European Union's import ban on Russian refined products, China's domestic demand recovery after reopening and global jet fuel demand to additionally support refining margins throughout 2023.

However, the company posted an operating loss of 157 billion won ($127.38 million) in the fourth quarter, swinging to a loss from a year earlier, because of a one-off impact from the company taking a loss of 433.8 billion won on its inventories after oil prices dropped during the period.

Solid contributions from refining and lube margins continued during the period, it added in an earnings statement.

For the September-December period, the refiner operated the crude distillation units at its 669,000-barrel-per-day (bpd) refinery in the southeastern city of Ulsan at 93.8% of capacity, up from 91.6% percent in the previous quarter.

The refiner said it plans to carry out maintenance for its No.3 crude distillation unit (CDU) and No.2 residue fluidized catalytic crackers (RFCC) in 2023.

Shares rose by 0.57% as of 0048 GMT, versus the wider market's 0.76% rise.

In November, Saudi Aramco, S-Oil's largest shareholder, announced a $7 billion project to build a refining complex in the southeastern city of Ulsan which can produce up to 3.2 million tons of petrochemicals annually.

($1 = 1,232.5600 won)

(Reporting by Hyunsu Yim; Editing by Muralikumar Anantharaman and Christian Schmollinger)