Well it's obvious that the Giro invited Contador, was literally drooling at the mouth to have the Spaniard present and of course win in a sensational way, being the number one rider that he was at the time and all.
The Giro suffers from a huge inferiority complex with respect to the Tour, which could be enlarged (idiotically) to one between Italy and France: thus, given at the time when CAS was supposed to issue a verdict before the July event, his presence at the Giro was a way to capture more press and validate the caliber of the event. That the verdict didn’t come only forestalled the plan B, in a calculated and cynical demonstration of nationalistic pride. That’s the truth, to make the most out of the fanfare and hence earnings.
Why do you think the organizers have contemplated ever more impossible and spectacular courses? To compensate for what the French race has on theirs year in and year out: prestige.
All the crocodile tears from the Italians today are merely gratuitous and staged reactions to safeguard the reputation of the Giro; as if they hadn't considered, at the time, that the outcome would possibly turn sour. They hedged their bets with Lance and it went just fine. With Alberto things have worked out differently, though even this eventuality was thought through before.
Because everything is planned for the moment, and according to the day's interests: tomorrow can always be dealt with, once again according to the day's interests, when it arrives.
The Giro got what they could out of Alberto, and only a hypocrite or a liar would say otherwise, while today they are no worse for the wary.
Everything is based on the particular interests of the moment.