The correct option is the last one. At the end of the story, O. Henry reveals Bob's real identity - a well-known criminal.
His old friend Jimmy is a police officer but does not want to arrest Bob, so another policeman dressed as a civilian is ordered to capture him.