A teenager allegedly impersonated the law and the law won.

According to Victorville police, a teenager was arrested on Tuesday after he allegedly impersonated a San Bernardino County Sheriff's Department deputy.

Video released by the department showed the unnamed teen (his identity is being withheld because he's a minor) pulling into a driveway of a home just after 6 p.m. Monday.

Authorities say the teen was driving a white Ford Explorer with red and blue emergency lights mounted on the inside of the front windshield. The Explorer was unmarked, without any kind of law enforcement identifying markers, or plates.

Here's where it gets weird: According to police, the teen got out of the car wearing a San Bernardino County Sheriff's Department uniform, along with what appeared to be a gun in the belt holster. The kid then walked to the front door and` told the homeowners he was there to investigate a report of domestic violence.

When the homeowners told the teen to go away, and that they hadn't called police for any reason, the teen attempted to force open the door, but the occupants had already locked it. Afterward, the 14-year-old returned to the Explorer, and the homeowner notified the sheriff's department about the odd encounter.