Hollywood executives take casting for blockbuster films very seriously. Often, during the production process, one actor is replaced by another. The reasons for these changes can vary; a director may find a more suitable candidate, or it may simply be that working with a particular celebrity proves to be incredibly challenging.
Sometimes, these decisions are influenced by the actor's reputation and public image. This was the case with Johnny Depp.
The star of the films Edward Scissorhands, Sleepy Hollow, Charlie and the Chocolate Factory, Alice in Wonderland and Pirates of the Caribbean was undermined by legal battles with his ex-wife Amber Heard. After the scandal about domestic violence and subsequent hearings, Depp almost buried his career and lost many lucrative contracts.

For example, the celebrity played the dark wizard Gellert Grindelwald in the Fantastic Beasts franchise. Johnny Depp was supposed to appear in the third part of the film, but the studio decided to say goodbye to him.
In the end, the role went to Dane Mads Mikkelsen. However, Depp did not leave empty-handed; according to the terms of his contract, he received the full amount of his fee, totaling $10 million.