(Bloomberg) -- Slovakia’s only oil refiner is preparing to sharply ramp up international crude purchases as part of the country’s pivot away from Russian supplies.

While Slovakia has an exemption allowing Mol Group’s Slovnaft refinery to keep taking Russian barrels through the giant Druzhba pipeline, European Union rules prohibit the company from turning that crude into fuels for re-export. As such, it will need to boost foreign imports.

Slovnaft Chairman Oszkar Vilagi on Tuesday warned that the steps may still not be enough to prevent diesel shortages in the region. EU sanctions will all but cut off Russian seaborne deliveries from Feb. 5, and buyers face a sharp crunch unless they can source alternative barrels. An alternative oil route is the Adriatic pipeline, but its capacity is far short of Hungarian and Slovakian refinery needs.

“In case of unexpected complications with pipeline oil supplies next year, Central European countries will face a shortage of diesel and other refinery products,” Vilagi told reporters in in Bratislava. “Slovnaft would not be able to fulfill its exports for the neighboring Czech Republic” if there are any crude shortages, he said.

Slovnaft — which has a capacity of about 124,000 barrels a day — exports 60% of its output mainly to its central European neighbors — the Czech Republic, Austria and Poland. It aims to replace 60% of its crude usage with non-Russian supplies by next December, when an exemption allowing Slovakia to keep sending products made from Russian crude to the Czech Republic only will expire.

Sourcing alternative supplies and adjusting processing will be costly and time consuming.

“Our refinery must buy two tankers of non-Russian crude per month from February next year to keep exporting products, and four to five tankers per month from December 2023,” Vilagi said. Fully adapting to process light crude oil will need hundreds of millions of euros in investment and build the necessary infrastructure will take years.

Vilagi also said a windfall tax on energy profits could curb the company’s investments in infrastructure, which would allow the processing non-Russian oil on a larger scale.

©2022 Bloomberg L.P.