The US government backed Canada’s decision to export sanctioned pipeline equipment to Germany, arguing the move will help shore up European energy security.

Monday’s comment by the State Department gives a diplomatic boost to Prime Minster Justin Trudeau. His government has come under withering criticism from Ukraine and its large diaspora in Canada for agreeing to ship back gear that had been stranded in Montreal since fresh sanctions were imposed last month.

“We support the Canadian government’s decision to return a natural-gas turbine to Germany for use in the Nord Stream 1 pipeline,” State Department spokesman Ned Price said in a statement. The move “will allow Germany and other European countries to replenish their gas reserves, increasing their energy security and resiliency and countering Russia’s efforts to weaponize energy,” he said.

Canada’s announcement this weekend to allow the turbine’s export came after a public plea from German Economy Minister Robert Habeck, who told Bloomberg last week that Russia would likely use the sanctioned turbine as an excuse to shut down Nord Stream and cripple Germany’s efforts to store gas before winter.

Ukraine’s foreign ministry called Canada’s decision “dangerous,” saying it would “allow Russia to continue using energy as an instrument of hybrid war against Europe.” The Ukrainian Canadian Congress accused the Trudeau government of bowing to “Russian blackmail.”

The permit also extends to other Nord Stream turbines that will need maintenance in Canada. “There are six turbines in total that require scheduled maintenance,” Keean Nembhard, a spokesperson for Canadian Natural Resources Minister Jonathan Wilkinson, said in an emailed statement. “The permit covers until the turbines are returned as needed.”

European gas prices fell on the news, as it sparked optimism that tensions with Moscow over energy supplies will ease.