Amanda Bynes was thankfully tricked yesterday into flying home to Los Angeles, where she was placed on psychiatric hold involuntarily upon arrival.
The man who helped mastermind this desperately-needed ruse: Sam Lutfi.
Yes, that Sam Lutfi. Remember him? You probably should ...
Lutfi was a celebrity gossip staple in 2007 and 2008, thanks to his close relationship with Britney Spears at the star's most unstable and erratic period.
Britney then was a lot like Amanda in 2012-13 and again over the past few weeks, clearly in need of help and posing a danger to herself and others.
Just as Bynes was placed under a 5150 psychiatric hold yesterday, Spears went through the same thing, ultimately turning her life and career around.
So how does Lutfi relate to both cases? Interestingly ...
Britney Spears' parents allege that Lutfi was medicating the pop star before she was eventually strapped to a stretcher and taken to a psychiatric ward.
He always said he was protecting Britney from her demons and the scourge of some of the people around her, but the truth may never truly be known.
In any case, he somehow knows Amanda Bynes as well, and used this relationship to get her the medical help she requires after a scary last few weeks.
Sam contacted the troubled star at some point on Thursday and convinced Amanda to sue her parents, whom she has long accused of working against her.
Realizing that her distrust of her family made it unlikely she would ever listen to their attempts to reason with her, he flipped the script to utilize her paranoia.
Sam's call coincided with Bynes' bizarre accusations of sexual abuse against her father, Rick, and claims that she has a microchip inside her to track her.
With her downward spiral escalating, time was of the essence.
Lutfi talked her into flying home to L.A. from N.Y.C. so she could meet with a lawyer to file the lawsuit, but he was working in tandem with her parents.
The goal? To place her under involuntary psychiatric hold, again (in 2013, she received the same treatment after setting a stranger's driveway on fire).
Lutfi told Bynes they would first travel to the lawyer's office in Pasadena, then to the London Hotel in West Hollywood to confront her parents with the lawsuit.
But instead of steps one and two of this brilliantly orchestrated plan, he had a driver take her to a Pasadena hospital which looked a lot like an office building.
Instead of a lawyer, she walked in and was surrounded by doctors and hospital staff, who took Amanda under their care and will hold her for the next 72 hours.
The 5150 psychiatric hold can be extended for 14 days, and likely will be when her parents request it. They will then try to establish another conservatorship.
Rick and Lynn Bynes somehow let their previous conservatorship - giving them control over Amanda's affairs - lapse last month, believing she was better.
Hopefully they don't make the same mistake twice.
As for Lutfi, maligned for years as a Britney Spears leech and enabler, he is the true hero in the eyes of Amanda's parents, who can't thank him enough.
Who knew? Here's wishing everyone involved the best in what has surely been a trying couple of weeks, one which we hope won't be repeated again ...