I thought he was asking so he could address the man by his rank. That’s a sign of respect.
Hahah! Yeah, a cop wants to just show respect, and maybe even love (sniff) after holding them at gunpoint and threatening to kill them.