A serial stalker has been banned from being alone with any woman in Scotland without permission for five years, BBC Scotland has learned.
Police say Basterfield is "highly dangerous"
A Sexual Offences Protection Order (SOPO) has been granted against Robert Basterfield in a landmark legal ruling.
The 35-year-old has been prosecuted twice for stalking women in Perthshire and was jailed in 2006.
Tayside Police Chief Constable John Vine sought a 10 year order against the "highly dangerous" sex offender.
Sheriff Lindsay Foulis granted a five-year SOPO after being told it was "almost inevitable" Basterfield would strike again.
A hearing at Perth Sheriff Court was told there was "ample evidence" Basterfield would commit another sexually motivated offence against a lone female.
The order was branded "draconian" and "something akin to the script of Minority Report" by Basterfield's counsel.
Basterfield, who is originally from Australia but now lives in Perth, has two convictions for stalking women in Perth and Bridge of Earn.
As a result, he was made the subject of an interim order banning him from being alone with any woman in Scotland.
He was also banned from doing any "recreational activity" - such as visiting a bar or cinema - without first gaining permission from his probation officer.
Tayside Police had originally sought a 30 year SOPO, but reduced the term to 10 years.