The issue is whether the district court, 664 F.2d 152 (7th Cir.), erred when it refused to permit the Assistant United States Attorney assigned to the case to testify in a pretrial suppression hearing. We reverse.
I.
On May 21,1980, defendant Ted Johnston and eleven co-defendants were indicted on thirteen counts of violating various provisions of the Comprehensive Drug Abuse Prevention and Control Act.1 Count Two of the indictment alleged that defendant conspired with co-defendant Andrew Theodorou and others to import marijuana illegally with intent to distribute it. Counts Four and Seven charged that on two occasions in 1976, defendant and several co-de*640fendants had possessed a large quantity of marijuana with intent to distribute.2
On August 8, 1980, defendant moved to dismiss the indictment or, alternatively, to suppress certain statements he had made to Drug Enforcement Administration (“DEA”) agents in February, 1978. As grounds for his motion, defendant alleged that the statements had been made subject to a promise by DEA agents that he would not be prosecuted on any charge related to the subject matter of his statements.
A pretrial evidentiary hearing was held on February 19 and 20, 1981. At the outset of the hearing, Assistant United States Attorney Joseph Hosteny informed the district court that, because he anticipated some possibility of being called as a witness in that suppression hearing, he was withdrawing from further participation in the handling of defendant’s suppression motion. He left the courtroom and was thereafter absent during the suppression hearing. Hosteny did participate, however, in the jury trial that followed of the other defendants severed from this case.
Five witnesses testified at the suppression hearing. From their testimony, certain facts appear to be undisputed. As early as 1977, defendant was the subject of an investigation by the New Mexico State Police into suspected smuggling of Mexican marijuana into the United States. At the same time, the DEA was investigating defendant’s suspected involvement in a large-scale drug smuggling operation centered in Chicago. On February 13,1976, defendant was arrested in San Francisco by local authorities and charged with possession of marijuana. Upon being informed of the arrest, Detective John Dunlap of the New Mexico State Police and Sergeant Richard Moore of the Metropolitan Narcotics Agency (New Mexico) traveled to San Francisco to interview defendant. The two met with defendant the next day, at which time defendant expressed a preference to talk to federal investigators.3 Acting in response to this desire, Moore contacted the DEA in Chicago, and agents Timothy Sack and Lance Mrock were dispatched to San Francisco on February 15, 1978 to meet with the defendant.
Sack and Mrock questioned defendant on February 15 and 16, 1978. Also present during these interviews were Dunlap, Moore and Sergeant Gregory Corrales of the San Francisco Police Department.4 After reaching some agreement with the DEA agents regarding the conditions under which he would talk, defendant proceeded to relate to the agents detailed information concerning his involvement in the smuggling ring headed by Theodorou. Defendant was subsequently released from custody and the San Francisco charges against him were eventually dropped.5
In support of his motion to suppress, defendant called Dunlap as a witness. Dunlap testified that it was his impression that defendant had been promised immunity from prosecution in exchange for information about the Theodorou smuggling operations. He also stated that during the *641lengthy interrogation of defendant, the DEA agents made repeated assurances that the information given to them by defendant would not “come back” on him or “put [him] in jail.”
Johnston also testified in support of his motion. He stated that he agreed to talk with the DEA agents if they would make three promises: (1) that the charges pending in San Francisco against defendant and his co-defendants would be dropped; (2) that he would not be arrested on charges relating to the information he was about to give them; and (3) that he would not be asked to testify or collaborate on related matters. According to defendant, the DEA agents told him that they would have to check on his requests, they left the room for between 15 and 20 minutes, and returned to tell him, “Okay. We got you a deal.”6 Defendant testified that only after Moore reassured him that he could trust the agents did he begin to describe his involvement in the Theodorou smuggling ring.
Johnston further stated on direct examination that shortly after his indictment in Chicago in 1980, he called Assistant United States Attorney Hosteny to complain that the government had broken its promise not to prosecute him. Defendant testified that Hosteny denied that any such promise had been made and that Hosteny was very angry with defendant for refusing to come to Chicago to testify saying to the defendant that “you are smuggling dope, and I don’t like criminals” and “I am putting you in prison.” The government, disputing the defendant’s version of the telephone conversation, attempted to cross-examine defendant on that issue. The district judge interrupted the examination, cautioning the government not to call Hosteny as a witness against the defendant. After further discussion, during which the district court expressed its desire not to resolve “the word of a lawyer against a defendant in a criminal case,” the government ceased its cross-examination of defendant.
The government did call three other witnesses to support its contention that defendant had never been promised immunity from prosecution. DEA agent Sack testified that he specifically told defendant he would remain “accountable” for his actions, and promised only to assist defendant with respect to the pending San Francisco charges and to communicate defendant’s cooperation to the United States Attorney in Chicago.. Mrock and Corrales each testified that the only promise made to defendant related to DEA assistance on the San Francisco charges, and neither Mrock nor Corrales recalled any promise to convey defendant’s cooperation to the United States Attorney.
After hearing the evidence, the district court denied defendant’s motion to dismiss the indictment but granted the motion to suppress his statements to the DEA agents. Finding it implausible that Johnston would be willing to inculpate himself in a massive drug smuggling operation in violation of federal law in return only for a promise of assistance on a relatively minor possession offense,7 the district court concluded that the statements had been induced by a promise that defendant would not be prosecuted.
Contrary to defendant’s version, accepted by the trial court, the government offered to add to its evidence, using Assistant Hosteny as a witness supported by his file memorandum of the telephone conversation, testimony that the defendant did not suggest that any alleged immunity agreement had been either made or breached. The defendant only mentioned, according to the government’s proffer, an alleged DEA offer of the payment of a sum of money for defendant’s cooperation against another defendant. It is the government’s position *642that the defendant’s failure to even mention the alleged immunity agreement to Hosteny strongly suggests it does not exist. Further, it is claimed Hosteny’s testimony would show that the defendant testified falsely about the telephone conversation. By the trial court’s ruling, the incriminating statements of the defendant were suppressed, the government was not permitted to offer the impeaching telephone conversation evidence which might have also served to discredit the defendant’s other testimony. The ruling also served to restrict cross-examination of the defendant.
The government perfected its appeal from this ruling pursuant to 18 U.S.C. § 3731 (1976).
II.
The advocate-witness rule, which articulates the professional impropriety of assuming the dual role of advocate and witness in a single proceeding, has deep roots in American law. Today, the rule is reflected in the ABA Code of Professional Responsibility, which states as an “ethical consideration:”
The roles of an advocate and of a witness are inconsistent; the function of an advocate is to advance or argue the cause of another, while that of a witness is to state facts objectively.8
The Code’s Disciplinary Rules have codified this ethical consideration. The rules prohibit an attorney from accepting employment in contemplated or pending litigation when it is obvious that he will be called as a witness. If the need for his testimony becomes apparent after the attorney has undertaken employment in the case, he must withdraw from the conduct of the trial. These requirements do not apply, however, in exceptional circumstances enumerated in the Disciplinary Rules: where the testimony will relate solely to an uncontested or formal matter and there is no reason- to believe that substantial evidence will be offered in opposition to the testimony, and where refusal to testify would work a “substantial hardship” on the client.9 These ethical rules apply to all lawyers, including government prosecutors, although application of the rule varies depending on the circumstances in individual cases.10
In United States v. Birdman, 602 F.2d at 553-55, the Third Circuit recently *643examined the case law and identified four policies said to be served by the advocate-witness rule. First, the rule eliminates the risk that a testifying prosecutor will not be a fully objective witness given his position as an advocate for the government. Second, there is fear that the prestige or prominence of a government prosecutor’s office will artificially enhance his credibility as a witness.11 Third, the performance of dual roles by a prosecutor might create confusion on the part of the trier of fact as to whether the prosecutor is speaking in the capacity of an advocate or of a witness, thus raising the possibility of the trier according testimonial credit to the prosecutor’s closing argument. Fourth, the rule reflects a broader concern for public confidence in the administration of justice, and implements the maxim that “justice must satisfy the appearance of justice.” This concern is especially significant where the testifying attorney represents the prosecuting arm of the federal government. In addition to the policies articulated in Bird-man, there is at least one other consequence deserving of consideration, particularly by United States Attorneys. United States Attorneys are expected to adhere to the highest standards of professional behavior and to be worthy of public trust and confidence. Nevertheless, the United States Attorney who becomes both witness and advocate runs the risk of impeachment or otherwise being found not credible by the district judge. That would be an unfortunate situation for government counsel which could impair not only continuation as an effective advocate in the ease, but could also produce lingering adverse aftereffects.
We have found no case in which the issue has arisen in a pretrial suppression hearing *644and the witness prosecutor intended to participate in the subsequent jury trial. What emerges in general from the cases is that it is a situation to be avoided if possible, but counsel’s testimony will be permitted in extraordinary circumstances and for compelling reasons, usually where the evidence is not otherwise available. In those circumstances, it is often suggested, however, that counsel withdraw from further participation in the case.
The government contends that the rule prohibiting prosecutors from appearing as witnesses has no application to proceedings tried before a judge. It points out that all of the cases relied upon by defendant that applied the advocate-witness rule involved prosecutors who sought to give testimony before a grand or petit jury. As a second point, the government argues that, because the district judge was trier of fact in the suppression hearing and a jury would perform that function at trial, those were in essence separate proceedings for purposes of the advocate-witness rule;12 therefore, had Assistant United States Attorney Hosteny been permitted to testify at the suppression hearing, he would not have assumed the dual role of advocate and witness in a single proceeding.
The government in arguing that the rule has no application to a proceeding tried to a judge and not to a jury asks for too much. The Birdman policy considerations remain applicable, although the risks of being less without a jury, more flexibility may be permitted. A judge, as compared with a jury, may be better able to take account of a witness-prosecutor’s adversarial role in weighing the objectivity of his testimony. A judge may also be less apt than a jury to confuse the roles of witness and prosecutor. Finally, to the extent that the “awesome-office” rationale remains a viable one after this court’s decision in United States v. Cerone, 452 F.2d at 288, we would expect that a judge would not be swayed by the prominence or prestige of a government prosecutor in assessing the credibility of his testimony. But the maintenance of public confidence in the ultimate fairness of judicial proceedings is no less applicable to proceedings before a judge than it is to those before a jury.
Had the district court allowed Hosteny’s testimony, it would have been faced with the troublesome prospect of deciding which of two witnesses — defendant Johnston or Hosteny — was telling the truth about the telephone conversation. A judge in that position would be expected to make a determination without prejudice to the defendant and without contravening the advocate-witness rule, so long as the testifying prosecutor did not otherwise participate in the case as suggested in Cerone. We have some concern about the danger of possible prejudice to the defendant as well as the appearance of unfairness that might result if the district court resolved the testimonial conflict between the two witnesses and then presided over a trial pitting these same protagonists as litigants. Whatever the district court’s ruling on the suppression motion, it would have had to find one of the two witnesses to be less than credible. The court’s subsequent rulings during trial could, therefore, create the appearance, even if they did not reflect the reality, of favoring the cause of the party-witness whose testimony the court had earlier believed. Particularly in criminal trials, where the full weight of the government is brought to bear against a solitary individual, even the appearance of such bias could impair public confidence in the fairness of the judicial process.13
The government next argues that a pretrial suppression hearing and a subsequent *645jury trial are separate proceedings for purposes of the advocate-witness rule. Although it is one and the same case, some different considerations may apply to its separate stages. The suppression hearing is a preliminary matter outside the presence of the jury. It is concerned with one of many matters a judge may have to determine before trial. We believe the suppression hearing may be considered separate from the trial for these purposes if necessary, but that does not entirely resolve the application of the advocate-witness rule.
In the present case other possible alternatives were not suggested to the trial judge nor considered by him sua sponte. For example, the trial judge could have submitted the suppression motion to a magistrate to hear the conflicting testimony and recommend a finding of fact, or he could have ruled on the suppression motion and then reassigned the case to another judge for trial. The most obvious alternative was for the witness-prosecutor to withdraw from any further participation in the trial of defendant Johnston. The government opposes the mandatory imposition of that last alternative as a requirement for several reasons. It could jeopardize, it argues, a successful prosecution, by giving the government the undesirable options of either not offering the testimony on substituting prosecutors. It is pointed out that substitution would often disqualify the prosecutor most familiar with the ease and require duplicative work by a substitute prosecutor, a substantial hardship in a major case. It could also lend itself to abuse by defendants attempting to disrupt and manipulate the conduct of prosecution with speedy trial complications. These are valid considerations to be weighed along with other factors, including, for instance, the time remaining before trial is scheduled.
In this particular case where the issue has now been raised and additional time has been consumed in this uncertain appeal, a major United States Attorney’s Office may be expected to be prepared to substitute prosecutors without prejudice to its case. Hosteny, as we understood at oral argument, has been assisted in this case by other prosecutors. However, we are not imposing substitution of prosecutors as a per se mandatory requirement, particularly in the circumstances of this case. Substitution, however, is ordinarily to be preferred.14
The general rule to be followed by a prosecutor who has interviewed a witness should be in accord with the American Bar Association Project on Standards for Criminal Justice, Standards Relating to the Prosecution Function and the Defense Function (Approved Draft 1971), § 3.1(f), which provides:
The prosecutor should avoid interviewing a prospective witness except in the presence of a third person unless the prosecutor is prepared to forego impeachment of a witness by the prosecutor’s own testimony as to what the witness stated in an interview or to seek leave to withdraw from the case in order to present his impeaching testimony.
Depending on the circumstances, however, as we have already noted, exceptions to substitution may be permitted.
The careful and experienced trial judge at the conclusion of the suppression hearing informed the parties that he would not consider any of the evidence of the telephone conversation testified to by the defendant. The apparent balance achieved by excluding both the defendant’s testimony about the telephone conversation and Hosteny’s anticipated impeaching response served only to immunize some of the relevant facts from being considered in the decisional process. The trial judge declined to make a credibility determination between an As*646sistant United States Attorney and the defendant. That is understandable and usually to be avoided, but in this case it was just another of the difficult determinations often facing a trial judge.
It was, after all, the defendant who placed the telephone call to Assistant Hosteny. It was the defendant who voluntarily chose to testify as to the contents of that telephone conversation. The defendant raised no objection to the government’s proposed rebuttal by calling Assistant Hosteny. It was the defendant who chose the means of communication which restricted the only possible government rebuttal witness to that one assistant the defendant chose to call on the telephone.
In these circumstances, where the defendant attempts to take advantage of a situation that was his own doing, not the government’s, the government, by the only means at its disposal, should be permitted to fully attempt to thwart suppression and to impeach the defendant. We, however, take no position on the merits of the motion.
Upon remand Hosteny shall be permitted to testify at a new suppression hearing if the necessity again arises. At the original suppression hearing, Hosteny did not seek to participate other than as a witness. Where no surprise is involved, that restriction remains. The trial court’s options of referring to a Magistrate or assigning the case to another judge for trial remain for consideration. If Hosteny further . seeks to continue as a prosecutor at trial, there being no reasonable likelihood of his being called as a witness at trial, he may be permitted to do so in the circumstances of this case. In other situations a reasonable showing that substitution of government counsel at that time could prejudice the government’s case would be required. Possible prejudice to the government’s case as well as the defendant should be considered and balanced by the trial judge in the context of the particular circumstances. As a general rule, the government prosecutor is not to be automatically disqualified as a witness or as trial advocate after testifying at a pretrial suppression hearing, but testifying and continuation as counsel shall be subject to the sound discretion of the trial judge exercised in accordance with the general principles discussed in this opinion.
This case is therefore reversed and remanded for a new suppression hearing. Circuit Rule 18 shall apply.
Reversed And Remanded.