A judicial officer who possesses a firearm as described in section 1 of this chapter has the same civil and criminal immunities and defenses concerning possession and use of the firearm that a law enforcement officer has when the law enforcement officer:
IC 35-47-16-2