MIAMI-DADE COUNTY, Fla. – A police impersonator chose the wrong person to mess with on Friday when he pulled over a Miami-Dade police detective, authorities said.

According to an arrest report, the detective was driving north on Interstate 95 in a county-issued unmarked vehicle when he was pulled over shortly before 7:30 a.m. by Marcos Pacheco-Bustamante.

Police said Pacheco-Bustamante, 46, of Miami, who was driving a Ford Crown Victoria, pulled up behind the detective's vehicle and activated police sirens, causing the detective to change lanes.

Police said the suspect continued to follow the detective, so the detective pulled over to the shoulder of the road near Northwest 119th Street.

The detective, who was in full uniform, got out of his vehicle and realized that he was dealing with a police impersonator, the report said.

The detective arrested Pacheco-Bustamante and searched his vehicle, finding an H&K BB gun replica and a blue police light, authorities said.

Pacheco-Bustamante was interviewed by detectives, who said he confessed to pulling over other drivers.

Pacheco-Bustamante is being held at the Turner Guilford Knight Correctional Center on a charge of impersonating a police officer.