the gun had been seized in a drug raid conducted by narcotics in the summer of the previous year in accordance with code b of the police and criminal evidence act 1984 , the major legislation controlling seizure of property in the uk .