Willy Wonka has really let himself go.
A humiliating photo of Johnny Depp snoozing while ice cream melts all over his crotch was shown in a British court Monday — as the “Charlie and the Chocolate Factory” star continued to fend off allegations he beat ex-wife Amber Heard.
Heard “showed me [the photo] the next day and said, ‘Look at what you’ve become … it’s pathetic,’ ” the actor said of the 2014 snap during his fifth and final day of testimony in London’s High Court.
The sensational case revolves around Depp’s libel lawsuit against the British tabloid The Sun for calling him a “wife beater’’ in a 2018 article — with his and Heard’s volatile and perverse relationship taking center stage.
During Depp’s roughly total 23 hours on the stand, the 57-year-old “Pirates of the Caribbean’’ actor repeatedly denied ever assaulting the 34-year-old actress while their seemingly doomed-from-the-start marriage played out over 15 months.
Heard — who is expected to take the stand later in the week — has accused Depp of repeatedly beating her in booze- and drug-fueled stupors, heaping on demeaning slurs in the process.
But Depp and his former personal assistant Stephen Deuters — who referred to Heard as a “sociopathic show pony’’ and “Machiavellian overloard’’ in texts shown in court — testified Monday that the only real aggressor in the marriage was the “Aquaman’’ actress.
On Monday, Depp’s camp produced the embarrassing photo, which Heard took before he agreed it was at a time for him to go to his private island in the Bahamas to detox from prescription meds.
“She asked me to hold her tub of ice cream. I have my right hand in my pocket, and I’m holding the ice cream in the other,’’ Depp recalled.
“I was obviously on the nod and very tired, falling asleep, and the ice cream then spilled all over my leg.’’
The “Edward Scissorhands’’ actor also claimed that his then-wife once socked him with a “haymaker” punch in April 2016, the month before she filed for divorce — and just hours after he’d found out he’d just lost a staggering $750 million.
“Since ‘Pirates [of the Caribbean]’ 2 and 3, I had — and this is ludicrous to have to state, it’s quite embarrassing — apparently I had made $650 million,” the star testified.
Depp said he then learned hours before his wife’s 30th birthday party April 21, 2016, that his former business manager had “stolen my money.”
“I had not only lost $650 million, but I was $100 million in the hole because they had not paid the government my taxes for 17 years,” Depp told the court.
He admitted that he may have smoked cannabis between leaving the “very unpleasant and ugly” business meeting and attending his wife’s party at their Los Angeles penthouse that night.
“It’s a calming agent for me,” Depp told the court of the drug.
Depp’s lawyer, David Sherborne, pointed out that a nurse at the party recalled Heard “appeared irritable and upset” and “angry with her husband because he’s late.”
That same night, someone pooped in the couple’s bed — and Depp has said he believes it may have been Amber as a supposed “prank.’’
The actor has been accused of hurling a magnum bottle of champagne at his wife over the course of the night, pushing her to the floor, yanking her by the hair and leaving a note saying, “Happy f–king birthday.”
But on Monday, he pointed to a recording she made in secret three months later that captured him telling her, “You f–king haymakered me, man’’ that night.
“You came around the bed to f–king start punching on me,” Depp said on the tape.
Asked to explain what a haymaker was, Depp said, “It’s just a type of wild swinging … kind of a roundhouse punch, as it were.”
Depp insisted that he couldn’t have hit Heard that night as she says — because he still had a cast on a severed finger due to lingering complications.
The actor had testified last week that the tip of his right middle finger was sliced off by a vodka bottle that Heard threw at him during a fight in Australia in March 2015, a month after they were married.
She has said he cut the tip of the digit off himself by slamming around a phone during a jealous alcohol- and drug-fueled rage — and that he then used the bloody finger to scrawl taunts aimed at her over her alleged affairs.
Depp said Monday that he got such a “painful” MRSA infection from the wound, he wouldn’t have been able to attack Heard in April 2016 the way she said.
“I flew back from Australia to LA to have surgery on the finger, and at that time, they had put a pin in it, in the broken bone, the fractured bone, but to no avail,” he told the court.
He “ended up getting MRSA, it’s quite a painful disease,” Depp said.
The actor described his cast as having a “little dinosaur” on it to be “more fun.’’
Sherborne, asked him, “With that cast on, would you have been able to grab her hair with one hand and punch her repeatedly with the other?”
Depp replied, “No sir.”
As he left the witness box Monday, Depp smiled and quipped to a court worker, “I’m gonna miss you.’’
Meanwhile, a witness that followed claimed she did once see Heard with bruises on her neck — but it was after tech tycoon Elon Musk apparently spent the night at the actress’s pad, and not when Depp was there.
Heard has said Depp “wound up his arm like a baseball pitcher’’ and threw her iPhone at her May 21, 2016, striking her in the right eye.
But Trinity Esparza, a concierge at the posh LA building where the former couple lived, testified that she never saw Heard with any injuries in the days after the alleged assault.
Two days after, “I looked her right in the face as we said hello, and I saw no visible injuries whatsoever to Ms. Heard’s face,’’ Esparza said.
She said it wasn’t until May 27, 2016, that she “noticed for the first time’’ the actress had a red mark under her right eye.
Esparza also said in a witness statement that she saw “a number of marks on Ms. Heard’s body,’’ including bruises on her neck and under her left eye as well as a bandage on her arm, in June or July 2016 — shortly after the worker spotted Musk leaving the building looking “like he had just woken up with messy hair.’’
The Tesla founder — who has been accused by Depp’s camp of having an affair with Heard while she was still with the actor — did not return requests for comment from The Post on Monday. He has previously denied the extra-marital-affair claim.
The Sun’s lawyer, Sasha Wass, challenged Esparza at one point, “You wanted to suggest that Mr Musk had injured her, didn’t you?”
Esparza responded, “I did not suggest that, I don’t know.”
Deuters, meanwhile, backed up his boss that Heard “was the abuser in the relationship.”
As he took the stand, he at first denied ever hearing Depp use terms such as “slut,” “whore” or “c–t” — before he was confronted by a text message from the actor doing just that.
“She’s a c–t!!!” Depp texted his assistant, complaining about Heard’s accusations that he was “wasted on something else every night,” the court heard.
Deuters insisted that he “didn’t have any recollection” of the crude text from Depp and added that he would “certainly not” use such language himself — only to be shown an even more strongly-worded message he wrote about Heard.
“Sociopathic show pony. Machiavellian overlord. Talentless c–t,” Deuters wrote in one message about Heard in 2016 after she and Depp split, the court was told.
Deuters told the court of his foul-worded messages, “I certainly regret that.’’
Depp’s texts contained “extravagances and exaggerations,” the former employee said, with the court hearing one in which Depp said he had “hookers and animals” in his hotel room.
In addition to Heard, Depp’s other actress exes Winona Ryder and Vanessa Paradis are both expected to testify during the three-week trial.