Ex post facto laws, guns, and you.