WARNING: The following contains spoilers for the Harley Quinn Season 2, Episode 7, "There's No Place to Go But Down," now streaming on DC Universe.

Season 2 of Harley Quinn has given Joker's ex and her crew of misfits some of their most arduous challenges ever as they try to take the Injustice League down once and for all. They're seeking to claim dominion over the new New Gotham, but the sinister Two-Face is proving to be their biggest obstacle.

Thanks to the man formerly known as Harvey Dent, in "There's No Place to Go But Down," Harley and Poison Ivy get sentenced to life with Bane as their judge. In the process, the series pays tribute to the Pit from Christopher Nolan's The Dark Knight Rises, which ironically ends up being a better version of Arkham.

RELATED: Harley Quinn's Bane Beatdown Makes Knightfall Look Like a Joke

The duo is taken out to the desert where Bane introduces them to the Peña Duro North Correctional and Rehabilitation Facility, a nod to his Santa Prisca origin in the comics. He's not just their judge, though; he's also warden. What stands out is it's also called the Pit, a huge hole in the ground where prisoners are stored for their crimes. It's a carbon copy of the Pit from Nolan's movie where Bruce Wayne was held and where Bane, as well as Ra's al Ghul's daughter, Talia, were left to survive.

However, while Nolan's Pit was violent and created monsters like Bane, someone deemed too psycho even for Ra's, this Pit is much more successful in its rehab as Bane patterns it to be a safe space where positive energies flow. He uses everything from therapeutic sessions and inspirational posters to create a calm ecosystem where the guests can stay and channel their aggression into peaceful acts. Victor Zsasz, for example, becomes more of an intellectual and philosopher, while Killer Croc takes up painting.

Bane really is exemplary as a leader, and he goes all out to maintain civility in the atmosphere he's cultivated. He reminds the ladies he was "born in the shadows" -- another throwback to Nolan's film when Tom Hardy's behemoth fought Christian Bale's Bat -- and he knows how to harness the darkness for something good. And honestly, it's way better than what we've seen at Arkham in many comics, cartoons, animated movies and live-action films. Those asylums just breed more craziness and keep churning out psychos, whereas Bane's setup fixes the broken and gives them a really zen perspective.

RELATED: Harley Quinn Confirms a Major DC Death IS Canon

As Bane says, this dank Pit is for the criminally capable, not what Arkham stands for which is the criminally insane. This enhances productivity, and Harley and Ivy are stunned with the discipline Bane's instilling. He has many rules, including keeping tidy rooms, and this helps everyone maintain a clean mind. The prisoners are truly receptive to this, and they're rewarded with things like talent shows and stand-up comedy night as well, with George Lopez even appearing.

It's not chaotic at all, and Bane takes pleasure knowing the inmates enjoy this life and are aspiring to be better for when they're let out. However, it's all undone when Harley and Ivy cause a riot. They're stuck there for life, so they want to use the brawl as a distraction so they can steal Lopez's chopper and escape. The plan doesn't work out, but the riot does crack the Pit's walls and allow Ivy's beanstalks to get them out. Still, as temporary as it was, the Pit really shone as the perfect prison for many Bat-rogues to call home and heal themselves.

DC Universe's Harley Quinn stars Kaley Cuoco, Lake Bell, Diedrich Bader, Alan Tudyk, Rahul Kohli, Christopher Meloni, Tony Hale, Ron Funches, Wanda Sykes, Natalie Morales, Jim Rash, Giancarlo Esposito, Jason Alexander and J.B. Smoove. New episodes air on Fridays.

KEEP READING: Harley Quinn May Have Brought Back the Most Sadistic Joker Ever