On 9 March 2006, attorney Olivier Bray asked for five years of prison for the 1995 coup d'état against Said Mohamed Djohar under the code-name "Eskazi", and sentences between one and four years for his 26 accomplices. During the three-week-long trial, Denard and his accomplices tried to convince the court that they had acted with implicit support of French authorities. Dominique Malacrino talked about the "numerous phone calls of Jacques Foccart, then responsible for the African office at the Elysée palace" to Denard. Emmanuel Pochet, another suspect, declared that Denard had "support from senior officers of the special forces of the DGSE", the French external intelligence agency. Olivier Feneteau, another suspect, declared that he had belonged in the past to the "action service" of the DGSE. On 9 March, Denard's lawyer presented declarations by former president Djohar, who had stated, during an interview to Comorian newspaper Kashkazi at the end of October 2005, that his security chief, Captain Rubis, a French officer that the French authorities had recommended to him, "was aware of the coup".
In June 2006 Denard, who by then was suffering from Alzheimer's, was found guilty of "belonging to a gang who conspired to commit a crime", and was given a five-year suspended jail term. During the trial, the role of the French secret services in the 1995 coup against Saïd Djohar was recognized, but not deemed sufficient to discharge the mercenaries of their guilt. However, the knowledge of the French authorities of the attempted coup was one of the reasons given by the Court to abstain from ordering a firm prison sentence. During his trial in 2006 before the Court of Appeal, a former head of the foreign intelligence service explicitly stated that "When special services are unable to undertake certain kinds of undercover operation, they use parallel structures. This was the case of Bob Denard." In July 2007, he was sentenced by the Court of Appeal to four years in prison (three of them suspended). However, he never served his sentence for health reasons.