“Mission: Impossible — Rogue Nation” scribe Drew Pearce has been tapped to pen the dramedy “The Wedding Sting” for Paramount Pictures, sources tell Variety.

Variety first reported in May that the studio had optioned the rights to the the Atlantic article “The Wedding Sting” after a competitive bidding war. Mary Parent is on board to produce.

Written by Jeff Maysh, the article tells the tale of how the police department in Flint, Mich., devised a plan in 1990 to create a fake wedding in order to lure all the local drug dealers to one party.

Flint was going through a depression as thousands of people were laid off and forced to leave the community following the closing of several General Motors auto plants. Drug dealers from all over the state found the town to be a haven to peddle every drug possible, leading to Flint being labeled as “one of the worst cities in America to live in” in 1987 by Money magazine.

With the department lacking funds to round up all the suspected dealers in town, it decided to organize a fake wedding, invite the suspects and arrest them. The case became so legendary that law enforcement agencies all over the world began using it as a tool to teach future undercover agents how to practice successful drug stings.

Pearce is known for penning big-budget blockbusters like “Rogue Nation” and “Iron Man 3.” He is repped by WME.

The news was first reported by Deadline Hollywood.