(TMZ) A member of Justin Bieber's personal security team was cited for disorderly conduct yesterday after the singer had a frightening run-in with an undercover cop in NYC ... but it was all one MAJOR misunderstanding.
Bieber was signing autographs outside of Macy's when the crowd became unruly ... and a plainclothes police officer rushed to help the singer.
Problem is -- Bieber didn't know the guy was a cop -- so when the cop got close to Justin ... Bieber got defensive thinking he was a crazy fan. A member of Bieber's security team immediately grabbed the cop and tried to pull him away. The cop quickly identified himself -- and cited the security team member for disorderly conduct.
But this story has a happy ending ... sources connected to the situation tell us both sides straightened everything out -- and Bieber went on signing autographs inside the department store. more on this story