A petition to wind up retail giant Dunnes Stores has been withdrawn at the Commercial Court because the company has now paid some €21.6m owed by it for a shopping centre development in Kilkenny.

The National Assets Management Agency had authorised Holtglen Ltd, which is insolvent with loans gone into the National Assets Management Agency (Nama), to bring the petition after Dunnes failed to pay despite an arbitration award against it, followed by a judgment order against it at the Commercial Court last March.

Holtglen claimed its insolvency arose from the non-payment but Dunnes said it was unwilling to pay on several grounds including its concerns about the viability of the centre at Ferrybank, Kilkenny.

When the matter came before Mr Justice Peter Kelly today, he was told by Maurice Collins SC, for Holtglen, he was seeking to withdraw the petition as Dunnes had paid the money owed yesterday evening.

The money should have been paid sooner, there was "no excuse" why it was not, and while his side regretted having to bring the petition, it had to do so to achieve compliance, he said.

Brian O'Moore SC, for Dunnes, said the court was aware of the reasons why the monies were not paid.

Those reasons may be good or bad but they were "genuinely held", he said.

Mr O'Moore added he had express instructions that Dunnes had intended no discourtesy to the court.

Mr Justice Kelly said he was glad to hear counsel say that because, on one view, the failure to pay could be regarded as a challenge to the court's authority.

The matter was not so simple as the petition was for the benefit of all creditors of Dunnes, he added, and directed any other creditors be called. There was no appearance by any other creditor and Mr Collins said none had indicated an intention to appear.

The judge said there could have been no anser to the winding up petition but, as the debt had been discharged last evening, Holtglen was seeking to withdraw the petition and he would permit it do so. He was also told the issue of legal costs had been agreed between the parties.

Dunnes previously said it is "robustly solvent" but was unwilling to pay the money to Holtglen on several grounds including its concerns about the viability of the centre at Ferrybank.

In letters to Nama chief executive Brendan McDonagh, Dunnes chief Margaret Heffernan described the Ferrybank centre as "an unmitigated disaster". Pressing the court to appoint a liquidator to Dunnes was "an extraordinary step" for anybody, particularly a public agency, to take, she added.

Nama wrote to Dunnes on October 30th last warning, unless Dunnes paid €21.6m to Holtglen within seven days, Holtglen would petition to wind up Dunnes on grounds it was unable to pay its debts and/or it was just and equitable that it be wound up.

Mr Justice Kelly had remarked, as Dunnes had not appealed his Commercial Court judgment last March enforcing an arbitrator's award to Holtglen against Dunnes, it was difficult to see how Dunnes has a defence to payment.

Last March, Mr Justice Kelly granted summary judgment for €20.4m to Holtglen against Dunnes after upholding an arbitrator's award to Holtglen arising from a 2007 agreement to build the centre for €37m.