The fate of the €10bn F126 is a cautionary tale for an agency that buys everything from flip-flops to fighter jets