Anssi Vanjoki was the one that strangled the software strategy and created that mess. First by flogging the dead horse that was Symbian for way too long. And secondly by frustrating the Maemo/Meego strategy for something like seven years. And indeed failing to provide adequate leadership when it came to managing internal UI platforms.
Windows phone was a risky decision and they literally bet the company on it and then MS got all hand wavy about doing an update and then took their sweet time doing that update while Nokia basically died. The whole strategy could have worked but it would have required Microsoft to be way less flaky. And of course having outsourced the future of the company to them, Nokia no longer was in control of their own future. Which was an expensive mistake for Nokia share holders.