It's worth pointing out they can't keep the gun even if you lose your licence. It remains your property and you can have it transferred to a friend or a RFD. Polis Scotland have been caught out before trying to illegally retain airguns.