PARIS — Paris-based producer Wassim Beji is on board to produce “Based on a True Story,” the film being scripted by Cannes award-winner Olivier Assayas and that will be directed by Roman Polanski, Variety has learned.

Marking Polanski’s return to filmmaking since his 2013 drama “Venus in Fur,” the French-language “Based on a True Story” is an adaptation of Delphine de Vigan’s critically acclaimed novel of the same name. The book was published last year and won the Prix Renaudot and high school prize Goncourt des Lyceens.

Assayas, who nabbed the best director prize at Cannes for supernatural drama “Personal Shopper” with Kristen Stewart (the award was shared with Romanian director Cristian Mungiu for “Baccalauréat”), is writing the psychological thriller, which turns on the dangerous and toxic relationship between a writer and an obsessive fan.

“Based on True Story” marks Beji’s first collaboration with Assayas and Polanski. Beji is producing the film via his Parisian outfit Wy Productions, whose credits include Jalil Lespert’s Cesar-winning “Yves Saint Laurent” and Pierre Niney starrer “An Ideal Man” and the French remake of “Chaos” with Romain Duris, Charlotte Lebon and Lespert.

Polanski, who is still awaiting a Polish court decision and could be extradited the U.S. to face the sexual abuses charges dating back to 1977, has been developing “D.,” a project based on the infamous Dreyfus affair, for several years.