New Jersey Democratic Sen. Cory Booker turned a Supreme Court nomination hearing into a starring film role for himself Thursday — ­bizarrely claiming “this is the closest I’ll get to an ‘I am Spartacus’ moment.”

Booker was claiming he was standing up for the release of classified documents written by nominee Brett Kavanaugh about the use of “racial profiling” at airports in the aftermath of the 9/11 attacks.

Booker made a point of saying he was willing to get expelled from the Senate by releasing ­emails the committee had deemed classified.

His “Spartacus” quote was a reference to the 1960 Oscar-winning movie starring Kirk Douglas as leader of a slave revolt.

He and his band are cornered by the Romans, who demanded to know who was Spartacus.

Everyone with Douglas identified themselves as Spartacus to protect the rebel leader.

It was unclear precisely what Booker meant, since the emails were declassified before his ­melodramatics, rendering his “Spartacus” speech meaningless.

As Booker continued grandstanding, Republican committee chair Chuck Grassley of Iowa lost patience.

“Can I ask you — can I ask you — can I ask you, how long you’re going to say the same thing three or four times?” he cracked.

The documents, meanwhile, provided no bombshell for the hearing.

Kavanaugh wrote in an 2002 ­email that he “generally favored” race-neutral security measures.

He added that his colleagues needed to “grapple” with “the interim question of what to do before a truly effective and comprehensive race-neutral system is developed and implemented” to prevent another terrorist attack.

Kavanaugh, the conservative federal appeals-court judge nominated by President Trump for the high court, was also pressed on a 2003 email he wrote about Roe v. Wade, the landmark 1973 ruling that legalized abortion nationally.

In the email, Kavanaugh suggested striking a line from a draft opinion piece that had stated “it is widely accepted by legal scholars across the board that Roe v. Wade and its progeny are the settled law of the land,” saying that the Supreme Court could overturn it.

“I am not sure that all legal scholars refer to Roe as the settled law of the land at the Supreme Court level since Court can always overrule its precedent, and three current Justices on the Court would do so.”

He was likely referring to then-Justices William Rehnquist and Antonin Scalia, and Justice Clarence Thomas, who had all dissented in a 1992 case that ­reaffirmed Roe v. Wade.

Kavanaugh told the Senate Judiciary Committee that he suggested the change because he thought the draft language was overstating the thinking of legal scholars at the time.

He again declined to say whether Roe v. Wade was correctly decided, though he indicated — as he had Wednesday — that it’s a decision that merits respect as “an important precedent of the Supreme Court” that has been “reaffirmed many times.”

Democrats weren’t buying what he was selling.

“Now the American people know what we know. We have every reason to believe Kavanaugh will overturn Roe v. Wade,” tweeted California Sen. Kamala Harris.

With Wires