A man who was found with a retractable knife on a primary school’s premises in Doncaster was given a community order by Sheffield Crown Court.
Sandis Jansons, 27, who is originally from Latvia, was seen on Town Field Primary School’s grounds on 5 July last year with the knife in a rucksack.
He admitted possessing a bladed article on school premises during a court hearing last month, after initially entering a not guilty plea.
At a hearing on 27 February, Prosecutor Robert Sandford said a member of staff went to talk to Jansons, of Bainbridge Road, Doncaster, and asked him to leave the school premises, which he did.
However, a short while later he returned, but this time without his rucksack.
He was again approached by members of staff, and reportedly said to one that “he was looking for a woman to walk around the park with and maybe have sex”.
There is no suggestion that he approached any children, and his defence barrister Amy Earnshaw said Jansons denies discussing having sex.
A search was carried out by members of staff, and Jansons’ rucksack, with the knife and personal items including his passport, was found close to the school.
During his interview after Jansons was arrested, he said that he had the knife to remove tax discs from cars as he had been working as a car valeter.
Miss Earnshaw said: “He is a young man. He is a very hard worker.”
Jansons has no previous criminal record in this country or in his native Latvia.
Before giving the sentence, Recorder Bernard Gateshill said: “The bladed article is a work tool. It was at all times kept in a bag with your passport and other items.
“Your behaviour on that day was erratic, in my judgement quite bizarre.”
He said he did not believe Jansons had a malicious motive.
Mr Bernard Gateshill gave him a 12 month community order, with a requirement of 15 days of rehabilitation activity and to complete 200 hours of unpaid work.