(2) Testimony on relevant issue. If it appears in the case that an informer may be able to give testimony relevant to any issue in a criminal case or to a fair determination of a material issue on the merits in a civil case to which a public entity is a party, and the public entity invokes the privilege, the court shall give the public entity an opportunity to show facts relevant to determining whether the informer can, in fact, supply that testimony. If the Court finds that the informer should be required to give the testimony, and the public entity elects not to disclose the informer's identity, the court on motion of the defendant in a criminal case shall dismiss the charges to which the testimony would relate, and the court may do so on its own motion. In civil cases, the court may make any order that justice requires.