Attention Law Enforcement Officers
(a)No person shall intentionally, knowingly, or recklessly carry on or about the person while inside a room in which judicial proceedings are in progress any weapon prohibited by T.C.A. 39-17-1302(a), for the purpose of going armed; provided, that if the weapon carried is a firearm, the person is in violation of this section regardless of whether is carried for the purpose of going armed.
(b) Any person violating subsection (a) commits a Class E felony.
(c) The provisions of subsection (a) shall not apply to any person who:
(2) Has been directed by a court to bring the firearm for purposes of providing evidence.