A man who sparked a gun scare at a train station was found to be carrying only a garden hose nozzle.
Armed police officers rushed to the scene and surrounding roads were closed after James Stevenson told Scotrail workers he had a 9mm pistol.
Hamilton Sheriff Court heard on Friday that Stevenson threatened to shoot himself but later surrendered.