* German energy industry reeling since war in Ukraine
* German regulator now has control of Schwedt refinery
* Schwedt refinery is a main fuel source for Berlin
* PKN interested in controlling stake in refinery - sources


Germany took control of a major Russian-owned oil refinery on Friday, risking retaliation from Moscow as Berlin strives to shore up energy supplies and meet its European Union commitment to eliminate Russian oil imports by the end of the year.
The economy ministry said it was putting a unit of Russian oil firm Rosneft under the trusteeship of the industry regulator and taking over the business' Schwedt refinery, which supplies 90% of Berlin's fuel.
"With the trusteeship, the threat to the security of energy supply is countered and an essential foundation stone is set for the preservation and future of the Schwedt site," the ministry said in a statement.
Governments across Europe have been racing to prop up their power providers and secure fuel deliveries as they ratchet up sanctions on major supplier Russia over its invasion of Ukraine.
Moscow has retaliated by reducing gas flows and has threatened to shut off all the taps, sending prices soaring and raising the prospect of energy rationing in Europe this winter.
Rosneft Deutschland, which was majority owned by the Russian oil group and accounts for about 12% of German oil processing capacity, is being placed under the trusteeship of the Federal Network Agency regulator. The regulator said the original owner no longer had authority to issue instructions.
Rosneft Deutschland and Rosneft did not immediately respond to requests for comment.
Polish refiner PKN Orlen is interested in taking a controlling stake in the Schwedt refinery, which is Germany's fourth-largest and also supplies parts of western Poland, sources in Berlin and Warsaw familiar with the matter told Reuters.
Shell, which owns a 37.5% stake in Schwedt, has wanted to sell that for some time. Shell said on Friday it was "unaffected" by the German move to take control of the refinery.
The Schwedt refinery has posed a dilemma for Berlin for several weeks, as it has received all of its crude from Russia, but Germany is resolved to eliminate imports of oil from Russia by the end of the year under European Union sanctions.
Taking over Schwedt, however, risks retaliatory measures from Moscow.
Poland said earlier this year that ending Russian ownership of the refinery was a condition for potentially supplying it with seaborne oil via a terminal in Gdansk and via Polish pipelines to replace Russian crude.
Germany's economy ministry said Friday's move included a package to ensure the refinery could receive oil from alternative routes, without providing details.
Chancellor Olaf Scholz, Economy Minister Robert Habeck and Brandenburg's state premier are due to announce more details at 1130 GMT.
Germany's move on Rosneft Deutschland is its latest attempt to stabilise the energy market.
The government said this week it would step up lending to companies at risk of being crushed by soaring gas prices, and power utility Uniper said the state could take a controlling stake, adding a government rescue package worth 19 billion euros ($19 billion) was no longer enough.
The government has also put SEFE, formerly known as Gazprom Germania, under trusteeship after Russian energy giant Gazprom ditched it in April.
Berlin is grappling with Russia's move to halt flows of gas through the Nord Stream 1 pipeline, which had been the biggest gas supply route powering Europe's biggest economy.
As a result of Friday's decision, the Federal Network Agency will take Rosneft Deutschland's shares in the MiRo refinery in Karlsruhe and Bayernoil refinery in Vohburg.