They probably thought it was a replica firearm.