Brazil’s state-controlled oil company Petróleo Brasileiro (NYSE: PBR) could present a new sale and purchase agreement (SPA) before the end of December for the sale of the Transportadora Associada de Gás (TAG) pipeline, after a Brazilian Supreme Court injunction in July stalled the sale.

The sale of TAG, which operates natural gas pipelines in Brazil’s north and northeast, could fetch Petrobras as much as US$7 billion, in one of the company’s largest-ever asset sales, three sources familiar with the process said. A new multibillion dollar syndicated loan is expected to finance the acquisition, two sources said.

Petrobras unveiled a five-year investment plan on December 5 which outlined its plans to raise $26.9 billion via asset sales and partnerships and make $84 billion of investments by 2023. The plan is designed to cut Petrobras’ debt of $88 billion which is one of the biggest among oil majors, Reuters reported.

Petrobras was aiming to raise $21 billion from asset sales in 2017 and 2018, but the company is expected to fall short by almost $10 billion because of the Supreme Court injunction, the sources said.

Selling TAG would see Petrobras scale back from the natural gas distribution business as it prioritizes more profitable investments such as Brazil’s deepwater oil and gas exploration and production segments, while divesting midstream assets such as refineries and pipelines, as well as overseas oil fields.

A consortium comprising French electric utility Engie and Canadian pension fund Caisse de dépôt et placement du Québec (CDPQ) were in talks with Petrobras to buy TAG before July’s injunction ordered that Brazil’s Congress had to approve the sale of any state-owned asset.

Engie and CDPQ have mandated eight to 10 international banks to raise a loan to back the acquisition of TAG, two sources said. Three Brazilian banks—Banco do Brasil, Bradesco and Itaú BBA, the corporate and investment banking arm of Itaú Unibanco—are understood to be part of the club of mandated banks, the sources said. The banks declined to comment.

If the Supreme Court injunction is lifted, the French-Canadian consortium will have to present a new SPA to the market and allow time for counter offers from any other parties interested in buying TAG from Petrobras, the sources said.

At least two other consortiums shortlisted by Petrobras in February could present counter-proposals, the sources said.

A group comprising EIG Global Energy Partners and the UAE’s sovereign wealth fund Mubadala and a second team made up of Australian investment firm Macquarie, the Canada Pension Plan Investment Board and Singaporean sovereign wealth fund GIC previously expressed interest for the TAG pipelines, the sources said.

A consortium led by Brazil’s Pátria Investimentos and private equity firm Blackstone also looked at the initial proposal, but rescinded interest earlier this year, according to news reports.

Itaú BBA, the investment banking division of Brazil’s Itaú Unibanco, is advising Petrobras on the sale of TAG, according to the sources. The bank declined to comment.

Shifting Priorities

Petrobras began moving away from the natural gas distribution business in September 2016 when it sold pipeline operator Nova Transportadora do Sudeste (NTS), which runs natural gas pipelines in Brazil’s south and southeast, to a consortium led by Canadian investor Brookfield Asset Management.

Brookfield, along with British Columbia Investment Management Corp, the China Investment Corporation and Singapore’s GIC agreed to pay $5.2 billion for NTS.

Petrobras’ decision to sell TAG, which operates a similar business in the north of Brazil, is part of the company’s plan to prioritize exploration and production, which is considered Petrobras' most important value generating engine.

In October, Petrobras agreed to sell its 50% share in oil fields in Nigeria for $1.53 billion to commodities trader Vitol, Africa Oil and Delonex Energy. It also netted approximately $823 million last month when it offloaded stakes in 34 onshore oil fields in Brazil’s Rio Grande do Norte and three shallow-water fields in the Campos Basin.

Petrobras declined to comment.