Australian detention camp company backs $586M bid from Ferrovial of Spain

A protestor holds up a large candle reading #LetThemStay in a protest standing in solidarity with refugees in detention in Melbourne, Australia. Many refugees in the detention center are sent to Nauru or Manus Island.
Asanka Brendon Ratnayake | Anadolu Agency | Getty Images

Australian immigration detention camp operator Broadspectrum agreed to support a A$769 million ($586 million) bid from Spain's Ferrovial after Papua New Guinea vowed to shut its camp there, sending its share price soaring.

Broadspectrum's board had previously urged shareholders to reject several offers from infrastructure giant Ferrovial, most recently on April 6, but said late on Thursday that the PNG decision had increased uncertainty over its future earnings.

Ferrovial said it welcomed the change of heart. The group controls 31.2 percent of Broadspectrum's shares and needs more than 50 percent acceptance by Monday evening for the takeover to succeed.

Yanis Varoufakis talks to CNBC in Abu Dhabi
Greece risks being 'concentration camp' for refugees: Varoufakis
Refugees and migrants shout slogans during a protest demanding the opening of the Greek-Macedonian border, in a makeshift camp near the village of Idomeni, Greece, March 21, 2016.
Brussels attacks are hurting refugees in Greece
Refugees and migrants board a bus heading to the Moria registration centre, after arriving at the port of Mytilene on the Greek island of Lesbos, following a rescue operation by the Greek Coast Guard at open sea, March 22, 2016.
Migrants not integrating into Europe’s jobs market: CEO

On Wednesday, the PNG high court ruled that a detention center Broadspectrum runs for the Australian government housing more than 800 Australia-bound refugees was unlawful. The PNG government said it would shut the camp.

Broadspectrum shares jumped 33 percent in early trade on Friday to a nine-month intraday high of A$1.495, in line with Ferrovial's A$1.50-per-share offer, while the broader market fell 0.2 percent.

Despite the about-face, shareholders may regret the company's decision to reject a higher A$2 a share offer in 2014 as too low.

Obama: 'Daunting' immigration issues

Broadspectrum, which also runs an Australian detention centre on the small Pacific island of Nauru, has been counting on government contracts like the Papua New Guinea detention camp to diversify out of the beaten-down mining sector.

The PNG decision "has increased the level of near-term uncertainty to (Broadspectrum's) contract with the (Australian) Department of Immigration and Border Protection, and future earnings that may be derived from it", the company said in a statement.

Noting that the Ferrovial offer closes on May 2, Broadspectrum said "it is unlikely that the company will have certainty as to the potential impacts before the current scheduled closing date".

Follow CNBC International on Twitter and Facebook.