STATEN ISLAND, N.Y. -- An eighth conviction garnered by retired NYPD Detective Louis Scarcella of Staten Island has been tossed, this time because of the "reasonable probability" the confession the former cop claimed the suspect made was fabricated, according to media reports.

State Supreme Court Justice Desmond Green on Tuesday ordered a new trial for Shabaka Shakur, who has been serving two consecutive 20-years-to-life prison terms for the 1988 killing of two high school classmates in Brooklyn after a dispute over a car. Shakur has spent 27 years in prison, according to the Daily News.

Green ruled there was a "reasonable probability" that the confession was fabricated.

"Here, it is both the new evidence of Scarcella's propensity to embellish or fabricate" plus an alibi issue with an original witness "that necessitates a new trial," Green is quoted as saying in the Daily News. Green now is assigned to Staten Island Supreme Court, but began hearing the Shakur case when he was in Brooklyn Supreme Court.

The Brooklyn District Attorney's office will decide whether to retry the case and a spokeswoman for the office said that options were being reviewed.

Shakur is due in court on Thursday and his attorney plans to ask for him to be released on bail.

In April, an acting state Supreme Court justice ordered the release of a man convicted of a 1991 murder, citing what she called the "corrupt practices" in other cases by Scarcella. Justice ShawnDya Simpson reportedly said Rosean Hargrave got an unfair trial following the work of officers who helped build the case, including Scarcella.

In January, the Advance reported that the city would pay $17 million to settle the wrongful murder convictions of three half-brothers from Brooklyn after Scarcella allegedly produced questionable evidence against them. The three men exonerated last year in Brooklyn state Supreme Court were Alvena Jennette, Darryl Austin and Robert Hill.

In one of his most infamous cases, Scarcella spearheaded an investigation in which a Brooklyn man, David Ranta, was wrongly convicted and jailed for 23 years for the 1990 slaying of a prominent rabbi.

-- Associated Press materials were used in this article.