Police officers swooped on a Blantyre house after a tip that there might be firearms stored there.
Hamilton Sheriff Court heard this week that they found a stun gun in a Lego box in the loft.
Jordan Moore, 24, was accused of possessing a prohibited weapon at his home in Welsh Drive in November 2018.