Consider this sentence: James asked Robert for a favor but *he* was refused.

Are "he" and "Robert" the same?
no