A lawyer representing major holdout creditors said on Wednesday that his clients are close to reaching a $5bn settlement with Argentina, according to press reports.

In a hearing before a federal appeals court in New York, Matthew McGill, a partner from Gibson Dunn, said NML Capital and Aurelius Capital Management had agreed in principle on economic terms with the Argentine government but needed more time to finish the deal.

However, the court appointed mediator Daniel Pollack released a statement saying McGill’s remarks had violated a confidentiality agreement between the parties. “If and when there is a signed agreement in principle reached between those or any other parties, I will announce it,” Pollack said.

The news of a possible agreement comes after US District Judge Thomas Griesa agreed to lift the injunctions on Argentina in response to the “good will” that President Mauricio Macri’s administration had shown by renewing negotiations with bondholders.

Griesa said he could lift the injunctions if Argentina repealed a 2005 law that prohibits payments to holdout creditors and if the government makes full payment to the holdouts that agree to settle their claims by the end of February.

“This changes the spirit of the Argentine proposal. Now the questions are whether the holdouts will allow Argentina to access the global markets and whether the judge will make an exception, or whether the government will be forced to tap local markets or use reserves to pay holdouts in order to get the injunctions lifted,” an analyst told LatinFinance.

Since resuming talks with creditors in January, Argentina has reached agreements with five holdout creditors for $455m, along with Capital Markets Financial Services for $110m and hedge funds EM Limited and Montreux Partners for $1.132bn. Brecher accepted payments for 100% of the principal and 50% of the interest due.