MINISTERS are facing a £5m claim in a dispute over a secret deal that paved the way to the nationalisation of the shipyard at the centre of Scotland's ferry building fiasco.

Details of the claim have come as it emerged that the Scottish Government 'gave up' £21m in insurance payments in relation to the collapse of Ferguson Marine Engineering Ltd (FMEL) as part of the confidential agreement.

Ministers had ploughed in bailout loans totalling £45m to ailing Ferguson Marine, before it fell into administration two years ago.

Details of the action came as the Herald on Sunday revealed last week that the Scottish Government faces a penalty of up to £190m because of irregularities in spending hundreds of millions in Euro funds which have stretched back six years.

The potential penalties arise from the suspension by the European Commission (EC) of millions of pounds in payments earmarked for Scotland under both the European Social Fund (ESF) and the European Regional Development Fund (ERDF).

Ministers have said they believe they were acting in the public interest in taking control of FMEL, as it saved the yard from closure, rescued more than 300 jobs and ensured that the two vessels under construction will be completed.

But the delivery of the vital island ferries at the centre of the row, MV Glen Sannox and Hull 802, is between four and five years late with the cost of construction now double the original £97m contract agreed in 2015.

Ministers are now fighting a debt claim from Texas-based insurance firm Tokio Marine HCC who say they are owed £5m in relation to the deal which came as FMEL fell into administration two years ago.

Tokio Marine's subsidiary HCC International Insurance (HCCI) which provided the surety bonds which acted as insurance to ensure the delivery of lifeline Scottish ferries claim that a 'deed of indemnity' had created an issue for the deal and means they are owed money.

Surety bonds are common business pledges to pay a sum if one party fails to meet certain obligations to another, such as failing to fulfil the terms of a contract and usually provides payment protection to subcontractors and suppliers.

The Herald:

The HCCI performance bonds acted as an 'insurance' against the company going under and would allow for the completion of two lifeline ferries.

HCCI said the deed of indemnity gave them the right to cash if there was likely to be a claim or demand under their bonds.

Joe Reade, chairman of the Mull & Iona Ferry Committee said: "Shenanigans like this just add to the frustration and the feeling that the services as a whole are not focussed on the users.

"These vessels are horrendously late, but not only that there are concerns whether they are the right vessels at all.

"What frustrates people on the islands is that our needs seem to be the least important thing.

"We hear the manoeuvrings of nationalising and protecting jobs, but the upshot is that the people that rely on the ferries are at the bottom of the heap in terms of consideration."

The Scottish Government's secret deal meant that HCCI would not have to pay £25m in default payments in connection with the construction of two lifeline ferries as a result of the collapse of FMEL.

Court papers show that an agreement ensuring HCCI were not liable came after a period of discussions was initially reached in August 16 - six days after the shipyard firm fell into insolvency.

They show that their settlement meant HCCI had to hand over £4.85m and that it would mean it would have no hold over the firm that owned the last shipyard on the lower Clyde - paving the way for the Scottish Government to step in.

The confidential agreement was made with Caledonian Maritime Assets Ltd - the taxpayer-funded company which buys and leases publicly owned CalMac's ships on behalf of the Scottish Government.

The document also divulged it had to hand over £4.5m plus interest of FMEL money held by HCCI.

Official documents seen by the Herald show that before ministers approved a £30m bailout loan in June, 2018, earlier in the year an agreement was reached for HCCI to release £10.7m of over £15m in FMEL money, held as collateral against the ferry construction bonds as the Scottish Government's directorate for economic development was told the company's cash position was "beyond critical".   In return HCCI wanted a tighter hold on FMEL's assets, which included the shipyard and all equipment.

READ MORE: Revealed: Ministers' secret path to the controversial state takeover of Ferguson Marine

One memo from the directorate for economic development warned that a delay in releasing the £10.7m was "damaging the business" and that an intercreditor agreement involving ministers, HCCI, and major shareholder Clyde Blowers, owned by Scots tycoon Jim McColl was urgently needed.

The Herald:

But the official analysis showed that ministers knew that the £10.7m would only allow the business to remain 'cash positive' till April, 2018 - and would not address funding required over a rise in costs over the construction of Scotland's two lifeline ferries.

That paved the way for ministers to provide the £30m loan. But discussions noted that if FMEL fell into administration, the American firm's 'security' would stand in the way of any state takeover.

While finance secretary Derek Mackay was telling the public the £30m loan was “to further diversify their business", internal documents state the real reason was that Ferguson was in financial trouble and at risk of falling into administration.

READ MORE: Over 100 UK-based only workers needed at Ferguson Marine in bid to resolve Scots ferry fiasco

Ministers had been told as early as August, 2017, that HCCI's legal hold over the assets of FMEL could be an issue.

But ministers sought to ensure there was a “right to buy” of FMEL when it provided the £30m loan knowing it was creating a path to a controversial state ownership.

In January, opposition parties were united in condemnation over ministers' rejection of the "catastrophic failure" conclusion of an inquiry into the ferries' procurement.

Islands minister Paul Wheelhouse said: "“I am satisfied that procurements in relation to [the ferries] were undertaken fastidiously, in good faith and following appropriate due diligence.”

Confidential documents revealed by the Herald showed that the Scottish Government knew FMEL was in danger of financial collapse two years before it undertook the state takeover.

The secret takeover deal was hatched with HCCI by the Scottish Government as FMEL executives lodged complaints just before the firm went under, saying ministers were not serious about keeping it afloat and were keeping them out of vital discussions.

The Herald:

Documents showed that two weeks before FMEL went into administration, directors thought ministers were still trying to pursue what they called “the solvent solution” involving keeping it intact as a private business while behind the scenes ministers had created a pathway to nationalisation.

Former FMEL managers subsequently accused the Scottish Government of having no serious intention of leaving it in private ownership while being warned nationalisation would be subject to EU state aid laws.

They accused ministers of forcing it into insolvency by rejecting a plan that would have avoided any state aid claim, save the taxpayer at least £120m, and prevent the costs of building two key lifeline ferries soaring to over £230m.

The former management have described the process to ensure the Scottish Government could nationalise as “highly secretive, highly irregular and unusual”.

In January, former management of the shipyard accused ministers of losing millions of pounds of valuable orders – projects with “huge opportunities lost” – while condemning the actions which created a secret pathway to nationalisation.