Police arrested the actor who played a jewel thief in a TV crime re-enactment after a tipster mistakenly identified him to cops as the real criminal.

It happened in Germany last week when an unidentified viewer dropped a dime on a man he recognized at the train station in Stuttgart as the thief he’d seen several weeks earlier on the TV program “Aktenzeichen XY” — Germany’s version of “America’s Most Wanted.”

The show appealed to the public for leads on a thief who had robbed a jewelry store in Krin, Germany, several hundred miles away.

The only problem was that the man was the actor who’d been hired to play the thief on the show.

“Suddenly, two officers were standing behind me,” actor Aaron Defant said. “They demanded my ID. I asked them why, but they didn’t answer.”

Cops took him to the police station for questioning, where Defant says, he was able to convince them he was just an actor before they were about to put him in a cell.