bly infringes upon one’s due process rights. Our Court of Appeals has recently written on the issue of when the right to counsel attaches in an adversary proceeding for the specific purpose of counsel’s availability at a lineup. In attempting to place its holding in its over-all context, the court noted in
People v Blake (
35 NY2d 331 , 340): "Beyond the right to counsel it is still good law that any improperly suggestive viewing
at any time may constitute a violation of due process of law (see
Stovall v. Denno, 388 U. S. 293 , 301-302;
supra; People v. Ballott, 20 N Y 2d 600 , 606; cf.
People v. Brown, 20 N Y 2d 238 , 243)” (emphasis supplied). It must be remembered that the exclusionary rules which prevent the introduction of certain identification testimony were primarily fashioned to deter improper conduct on the part of law enforcement officials which might lead to mistaken identifications (see
Stovall v Denno, supra, p 297 ;
People v Logan, 25 NY2d 184 , 193). The focus is not solely upon the time or place at which the confrontation occurs, but also upon the motives and conduct of the law enforcement officials in obtaining prior identification evidence. Thus, it has been held that pretrial identification procedures which occur in a prosecutor’s office, or during grand jury proceedings, are proper subjects for judicial scrutiny so as to gauge possible constitutional violations
(People v Leite, 78 Misc 2d 296 ). So, too, viewings of the defendant in or around the courtroom at various stages of the criminal proceedings have also come under judicial scrutiny (see
People v Grier, 45 AD2d 688 ;
People v Robles, supra; People v Hanley, supra). In
United States v Roth (supra, p 1141 ), a witness who had not yet testified was asked by the prosecutor to walk through the courtroom during a trial recess to see if a man who had allegedly defrauded him was in the courtroom. The witness complied and made an identification of a man (presumably the defendant). His identification testimony at the trial was equivocal. The Second Circuit held the
Wade principles applicable to such a confrontation, but, despite the violation of the
Wade requirements, no reversal was mandated inasmuch as the viewing had neither tainted the witness’ trial testimony nor infected the trial. In
United States v Kaylor ( 491 F2d 1127 ), a witness who the prosecution believed could not identify the defendant was called at the trial on an issue unrelated to identification. Following his testimony he informed the prosecutor that he could identify the defendant as one of the perpetrators. After a hearing the trial court held that no taint resulted from the in-court identification. The Second Circuit held that the identification process was, in essence, a prohibited showup, but that no due process violation resulted since "there is not the slightest suggestion that the prosecution was in any way attempting to bring the confrontation about in the fashion that it occurred” (p 1132). The rule gleaned from a study of these cases is that the due process clause is violated only where the identification is the result of improper conduct by law enforcement officials. Consequently, our courts have held that spontaneous or unrehearsed one-to-one viewings are outside the pale of condemned showups (see
People v Logan, supra, p 193 ). As noted above, the motives of the prosecutor here are subject to serious question. In employing this questionable procedure, the People were able to arrange a suggestive identification procedure prior to the trial so that its case could eventually be significantly bolstered by an additional eyewitness at the trial. By engaging in this screening technique, the People were able to test the credibility of the witness without the potential negative result which could conceivably occur if the witness was produced for identification testimony in the first instance before a jury at the trial. If the prosecutor was sincerely interested in whether this witness would be able to recognize the defendant as the