Replace it. File it down. Normal wear and tear. Bag the spent casings. Use a revolver instead. Use a stolen gun. Scatter shells from a firing range around the crime scene (reasonable doubt).
There is so much wrong with this law, it's ridiculous.
Makes one wonder how these people were possibly intelligent enough to get elected when they cannot see how ignorant laws like this are.