(a) A person who possesses, obtains, receives, sells, or uses a short-barreled rifle or a short-barreled shotgun in violation of federal law is guilty of a Class C felony.
(b) This section does not apply to a peace officer who possesses, obtains, receives, sells, or uses a short-barreled rifle or a short-barreled shotgun in the course of or in connection with his or her official duties.