Theatres using use blank firing pistols on stage have been warned they must hand them in to police or staff risk up to 10 years in prison.