Petitioner-appellant Pedro Nieblas appeals from the October 22, 1998 judgment of the district court denying his petition for a writ of habeas corpus. The petition, filed pursuant to 28 U.S.C. § 2241(c)(3) and former 28 U.S.C. § 2254, alleged, inter alia, that Nieblas had been denied his Sixth Amendment right to a public trial when the courtroom was closed for the testimony of one witness, an undercover officer, during his drug trial in state court. On appeal, Nieblas contends that the district court erred in hearing additional evidence on the propriety of the courtroom closure and, largely on the basis of this evidence, denying the petition. We find these arguments unavailing and thus affirm.
BACKGROUND
On May 12, 1992, during Nieblas’s state-court trial on drug charges, the prosecution asked the court to close the courtroom for the testimony of the undercover officer who had purchased drugs from Nieblas. Defense counsel objected and a brief hearing was held. At the hearing, the officer testified that he continued to do undercover work with Brooklyn South Narcotics, that his identity was unknown to the public for “[sjafety reasons,” and that the courtroom had always been sealed when he testified in other cases. The judge agreed to seal the courtroom “in the interest of the safety of this police officer.” Defense counsel registered no further objection to the closure. Ultimately, Nieblas was convicted of criminal sale and possession of a controlled substance and sentenced to concurrent prison terms of nine to eighteen years for the two major counts.
Nieblas subsequently appealed his conviction through the state court system. He argued, among other things, that his Sixth Amendment right to a public trial had been denied on account of the courtroom closure. The Appellate Division of the New York Supreme Court found this claim unpreserved for appeal because defense counsel did not object to the closure following the hearing.
See People v. Nieblas,
On August 12, 1995, Nieblas filed a petition for a writ of habeas corpus in federal district court and included the Sixth Amendment claim among the grounds for relief. The district court requested supplemental memoranda from the parties after concluding that the state had failed to present facts sufficient under Second Circuit law to justify the courtroom closure. He ordered the state to submit an affidavit from the undercover officer to address “the principal deficiencies in the justification of the courtroom closure in the record”:
Specifically, the affidavit should identify the location of the ... drug sale by neighborhood and state whether — at the time the undercover officer testified — he was still doing undercover work in the neighborhood where the defendant’s drug use took place.
On May 28, 1998, the state submitted an affidavit from the officer, Detective Joseph Ramirez. On October 16, 1998, the court gave Nieblas’s counsel the opportunity to cross-examine the detective on his affidavit. The affidavit and testimony established that (1) the operation involving Nieblas occurred in Boro Park in the 66th precinct, and (2) at the time of Nieblas’s trial, Ramirez had been transferred to the *31 adjacent 72nd precinct, but could have been assigned to further undercover work in the vicinity of his transaction with Nieb-las.
On October 22, 1998, the district judge denied the habeas petition. He “assume[d] ... that the general objection voiced by counsel was sufficient to preserve the record and that the issue has not been procedurally forfeited.” He explained that he decided to exercise his discretion to hear additional evidence because
it was my view that if ... a further evidentiary hearing developed a record that was sufficient to justify the courtroom closure, then the defendant’s right to a public trial was not violated by the partial closure merely because the factual finding made by the trial judge was not properly supported by the record.
According to the district judge, at least where the issue does not pertain to the guilt or innocence of the defendant, a federal habeas court should not reverse a conviction for denial of the right to a public trial without affording the state “the opportunity of showing that [it] has sufficient evidence to meet a specific objection to closure that ... was not raised at the time that the closure application was made.” Based in large part on evidence gathered from the detective’s affidavit and testimony before the district court, the judge determined that the partial courtroom closure was justified and thus denied the petition. This appeal followed.
DISCUSSION
We review a district court’s decision to grant or deny a writ of habeas corpus
de novo. See Reyes v. Keane,
Nieblas contends that the district court abused its discretion by affording the state a second chance to make the showing necessary to justify the courtroom closure and then denying the petition based on the evidence the state presented. According to Nieblas, since the state had ample opportunity to justify the closure at trial and failed to meet the strict standards articulated by the Supreme Court,
see Waller v. Georgia,
A district court has broad discretion to hear further evidence in habeas cases.
See Townsend v. Sain,
We find the district court’s decision to gather additional evidence here to be a reasonable exercise of its discretion under the circumstances. First, a district court should readily hold a hearing where the defendant may have sandbagged the state or otherwise engaged in strategic manipulation during the state-court proceeding.
See Kuhlmann,
Second, a district court is particularly justified in conducting an
ex post
hearing where the state’s failure to present adequate evidence below is excusable—for example, due to a change in the governing law. In this case, the state trial court’s hearing on closure was held in 1992, prior to significant clarifications in the law by both the New York Court of Appeals,
see People v. Martinez,
Third, where either of the above two reasons or any other similar reason exists, it is particularly appropriate for a habeas court to gather additional evidence—rather than granting the defendant the “windfall” of a new trial—where the alleged constitutional violation does not affect the fairness of the outcome at trial, as in courtroom closure cases like this one.
Waller,
We reject petitioner’s contention that the district court is or should be pro
*33
hibited from holding a hearing if a state court would not do so on direct review. “The whole history of the writ ... refutes a construction of the federal courts’ habeas corpus powers that would assimilate their task to that of courts of appellate review.”
Townsend,
Having concluded that the district court’s decision to hear further evidence was a proper exercise of its discretion under the circumstances, we turn to whether the courtroom closure in this case violated Nieblas’s Sixth Amendment rights. In this regard, we find no constitutional error; the additional evidence produced by the state plainly satisfies the constitutional requirements for courtroom closure. The Supreme Court has articulated a four-factor test for evaluating the propriety of courtroom closure.
See Waller,
Similarly, the affidavit and testimony received by the district court in this case established that (1) the operation involving Nieblas occurred in the Boro Park neighborhood of Brooklyn, and (2) although at the time of Nieblas’s trial the officer had been transferred to an adjacent precinct, he still could have been assigned to further undercover work in the vicinity where Nieblas trafficked in drugs. This evidence is sufficient to justify the closure.
CONCLUSION
For the foregoing reasons, we find no fault with the district court’s decisions (1) to hear additional evidence on the propriety of courtroom closure and (2) to deny the petition for a writ of habeas corpus. The judgment of the district court is affirmed.
