A jury was told Contostavlos, 26, also laid on a “boys’ night out” for him at a London strip club in a bid to boost her chance of landing a top role in the movie instead of Keira Knightley or Kate Winslet.

She allegedly used the code “white sweets” for the drug and texted the man, who called himself Samir Khan, with the words: “I can sort u out.”

The cocaine was then delivered to London’s five-star Dorchester hotel in Park Lane – where the deal is said to have taken place – on May 23 last year by her rapper friend Michael Coombs, 35.

However, the “producer” was undercover reporter Mazher Mahmood, of The Sun on Sunday, running a sting to expose her alleged involvement in drugs.