In a criminal case where:
(1) The defendant has been convicted of assaulting a law enforcement officer or other employee of a law enforcement agency who was performing his or her official duties at the time of the assault as provided under RCW
9A.36.031; and
(2) There has been a special allegation pleaded and proven beyond a reasonable doubt that the defendant intentionally committed the assault with what appears to be a firearm;
the court shall make a finding of fact of the special allegation, or if a jury trial is had, the jury shall, if it finds the defendant guilty, also find a special verdict as to the special allegation.