Doosan would have invested considerable resources into making the decision to come to Scotland.

So, having invested that time in management and planning, they obviously would have preferred not to cancel.

They point to difficult conditions in Europe, but it is not clear to me why they would necessarily cancel an offshore wind project because of that.

Having been in Scotland yesterday, I am confident it will not have been their confidence in the position of the Scottish Government on offshore wind, which is rock solid, that has put them off.

It may be that wobbles in Westminster renewables policy is actually the issue that changed Doosan's mind.

For example, some ministers have said there won't be any more onshore wind turbines than those currently in the planning system, while electricity market reforms have still not be finalised, meaning more uncertainty for would-be investors We also know of the 100 Conservative MPs who wrote to David Cameron saying they were worried about the level of subsidy being given to wind energy

It is very sad for Scotland that Doosan has taken this decision, when Holyrood is so solid. If indeed it is the UK Government's wobbling that has caused this decision, I think we have to be aware that if we don't have policy credibility, it will cost us. We are talking about hundreds of millions of pounds, dollars, euros of external investment. If we want these companies to come here, we have to look as though we are serious about renewables policy.

l Paul Ekins is professor of energy and environment policy at University College London's Energy Institute