Germany said it had sealed a long-term agreement with Qatar for the supply of liquefied natural gas as Berlin seeks alternative energy suppliers to Russia.

In Doha as part of a Gulf tour, Germany’s economy minister Robert Habeck on Sunday said the deal would be a “door-opener” for the country’s economy because it would reduce its reliance on imported Russian gas, which currently accounts for more than half of annual supply.

He declined to provide details on the quantities and other terms discussed. The ministry said it would be up to individual German energy companies, the bosses of which have accompanied Habeck on the trip to Qatar, to sign deals with the Arab state’s enterprises.

“We might still need Russian gas this year, but not in the future,” Habeck was quoted as saying by DPA in Doha. “It starts like this — so he who has ears should start to listen,” he said, in a thinly veiled message to Russian president Vladimir Putin.

Qatar welcomed in a statement Germany’s decision to “fast-track” the development of two LNG terminals and said the countries’ “respective commercial entities would re-engage and progress discussions on long term LNG supplies from Qatar to Germany”.

Germany’s move comes as EU leaders prepare to meet in Brussels on Thursday to discuss how to respond to the shock of rising energy prices, which have been exacerbated by the Ukraine war and a desire to wean themselves off Russian gas following Moscow’s invasion of Ukraine.

Berlin’s coalition government has ruled out prolonging the life of Germany’s remaining nuclear plants, which are due to be switched off at the end of the year, and is pinning its hopes on LNG terminals to reduce the amount of gas it imports via pipelines from Russia.

Aside from efforts to find alternative suppliers of energy, EU governments are seeking to shield households and businesses from rising energy costs.