... it was certainly a Breach of Peace ... and well out of line.
Which constitutes Misconduct in Public Office.
(I have to say that, if it had been me, I'd have dived straight
into the "Are you detaining me? No? I'm free to go, then?
Yes? On what reasonable cause?" ... mode. And
stayed there. Rather than arguing with the arrogant