Yes, provided they knew the man on the warrant wasn't him. The names match, that's really the sticking point. Once they got full confirmation he wasn't the guy, the cuffs should have come off and apologies and all that should commence.
Discussing the arrest afterwards, that's standard...