Royal Dutch Shell Plc (NYSE: RDS.A) will invest $10 billion in Brazil over five years now that the country has increased opportunities for foreign companies in its oil industry, its CEO said on Nov. 10.

Already the largest foreign investor in Brazil, Shell is particularly encouraged by recent legislation that increases the role of private oil companies in the tapping of vast off-shore oil deposits in the subsalt layer, CEO Ben van Beurden said.

“This was a good move by the government and it will open up opportunities for more players to invest in Brazil,” Van Beurden told reporters after meeting with President Michel Temer.

Temer took office this year after the impeachment and removal of leftist Dilma Rousseff, whose Workers Party was opposed to reducing the central role of state-controlled oil company Petrobras in the subsalt region.

Shell is already a major subsalt player as a Petrobras partner in the massive Libra oil field, and acquired more assets in Brazil through its merger with rival BG Group.

New investments could be made by Shell in oil industry auctions planned next year, Van Beurden said, and the company will look at opportunities in distribution at a time that Petrobras is considering selling a big stake in its subsidiary BR Distribuidora.

“If there are opportunities, we will also look at the possibility of deepening our portfolio in the downstream area,” he said.