A judge has shown mercy on a drug user who armed himself with a Stanley knife and a hammer while suffering from a psychotic episode.
Mark Wilson was found with the weapons after he banged on the doors of Barnstaple begging to be arrested and put into a cell.
He was found to have more than £300 worth of drugs at his home after officers arrested him and searched the premises.
Wilson, aged 49, of Bevan Road, Barnstaple, admitted two offences of possessing weapons and three of possessing drugs.
He was ordered to receive six months drug rehabilitation as part of a 12 month community order by Judge Peter Johnson at Exeter Crown Court.
He told him: “This order will be good for you and I hope it will make you a better grandfather.”
Herc Ashworth, prosecuting, said the main police station at Pilton, Barnstaple, was closed when Wilson arrived in an agitated state on June 15 this year.
He banged on the door and shouted and had fists clenched, eyes wide open, and was foaming at the mouth.
He said he wanted to be arrested and to speak to the drugs squad.
He was found with the weapons, which he said were for his own protection.
Richard Crabb, defending, said Wilson has been assessed as suitable for drug rehabilitation.
A probation report said he was suffering from a psychotic episode on the day of his arrest.