His defence solicitor told Sheriff Court that he had planned to use the 500,000 volt stun gun to "stun himself, make videos, ...