I know of one contractor who had a brilliant interview and was offered the contract. The agent tried to push down his rate, and it got quite heated, until the agent backed down. Then the agent called saying that the offer had been withdrawn by the client, as they'd found some who could do the work internally.
The contractor wrote a nice letter to the interviewing manager, expressing his regrets at not getting the contract, but fully understanding that the client's position. And hoping that they'd consider him for any future opportunities.
A few days after sending the letter, he got a call from the agent, saying the contract was now available, at the higher rate.
Funnily enough, the agency in question were gradually let go by the client.