If the state or a political subdivision elects not to disclose the identity of an informer and the circumstances indicate a reasonable probability that the informer can give testimony necessary to a fair determination of the issue of guilt or innocence, the judge shall on motion of the accused dismiss the proceedings, and the judge may do so on his or her own motion.
NRS 49.365