Updated

Pittsburgh police say a man tried to carjack a plainclothes officer near filming for the latest Batman movie — and allegedly told him it was part of the script.

Detective Robert DiGiacomo was in an unmarked vehicle around 7:15 p.m. Saturday, looking for a suspect in an assault. That's when police say a man opened the car door, sat down and told the officer to get out.

The officer drew his gun and ordered the suspect, 21-year-old Micah Calamosca, out of the car. He says the suspect told him he was part of filming for "The Dark Knight Rises" and that taking the vehicle was in the script.

Calamosco was taken into custody and faces a charge of robbery of a motor vehicle. It's unclear if he has an attorney.