Robert Weir pleaded guilty to firearms and drug offences at the High Court in Glasgow in March.