I suppose it's a question of perspective, but I suspect they'd see it as us on on their side. It's about who is the hand and who is the puppet.
Surely, more of a political cockup than an Intelligence one, at least from what we (subsequently, and after the fact) found out of what Blair was told by the intelligence community, and what he told us they were telling him. What the CIA told Bush ..... who knows?
As for Afghanistan, I agree about justification, and about not leaving it as a training camp. But I wonder .... is the planet safer, terrorism-wise? Or have we just entrenched opinions in large parts of the world, and succeeded in helping to massively destabilise Pakistan in the process?
Afghanistan may have been justified in terms of removing the Taliban from power and making it much harder to Al Qaeda to operate, but have we just moved the problem around and, over time, made it worse? Sometimes, doing nothing is bad, but not as bad as doing something that makes things worse. Only time will tell, I suspect.