A man with Asperger's syndrome breached a sexual risk order by setting up a false Facebook profile to sell car parts.
Robert William Middlemass, 28, listed as being from Seahouses in Northumberland, kept the mobile phone used to set up the profile in his Redruth garage so that police would not find it.
The offence took place between July 18 and 26 2018.
Sentencing Middlemass, the chair of the magistrate's bench in Truro said: "I give you real credit for entering a guilty plea at the first available opportunity.
"I have taken into account the fact that you were selling vehicle parts and there was a limited risk to the public. I have to balance that with the fact that this is a flagrant breach of a court order.
"You have previous convictions for breaking that court order. You set up a false profile.
"You are sentenced to four months in prison. When I take into account your mental health difficulties, the level of risk that there was and the fact that you were open and honest about what happened I have decided to suspend that sentence."
He was sentenced to four months imprisonment, suspended for 12 months, and was also ordered to pay a total of £200 to the courts.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here