Under federal law, a person who knowingly possesses and/or causes to be present a firearm or other dangerous weapon at a federal court facility, or attempts to do so, shall be fined and/or imprisoned for not more than two (2) years.
Most every state has a similar provision under state law for state and local courts. Unlike the rest of federal facilities, there is no exception for lawfully carrying a firearm or other dangerous weapons in a federal court facility incident to hunting or any other lawful purpose.
In addition to this criminal provision, federal courts also possess the inherent powers to regulate their affairs by contempt and other powers. This is specifically accounted for in the federal penal code (“FPC”). As such, any Reader should also be aware that violation of the FPC on firearms and dangerous weapons may be punishable by contempt as well.

Like what you see here? Buy the book today and support this information and the gun law community. Thank you!
Furthermore, the federal courts also have the power to promulgate rules or orders regulating, restricting or prohibiting the possession of weapons within any building housing such court or any of its proceedings, or upon any grounds appurtenant to such buildings.