In reading El Club Dumas, Polanski pictured Johnny Depp as "Dean Corso", who joined the production as early as 1997, when he met Polanski at the Cannes Film Festival, while promoting The Brave.[7] Initially, he did not think Depp right as "Corso", because the character was forty years old (Depp at the time was only 34). He considered an older actor, but Depp persisted; he wanted to work with Roman Polanski.[8]
https://en.wikipedia.org/wiki/The_Ninth_Gate