It's pretty clear to me that Stokes ended up acting in bad faith. When he agrees to be Papp's reference, there is tacit agreement that the reference will be favourable. If Stokes subsequently gains information suggesting that a good reference would not be appropriate, he owes it to Papp to withdraw his name as a possible reference.