A drug dealer was granted bail and walked free from court on Friday after a sheriff banned her from going to any prison in Scotland.
Claire Wright was told she could not go to any prison establishment after she admitted producing £6,000 pounds worth of heroin from her bra at maximum security Perth jail.
The 21-year-old had a special bail condition imposed to prevent her visiting any jail after a court was told she had been caught behind bars with the heroin haul.
During a police interview, Wright claimed her boyfriend had been serving a sentence in the jail and word had come to her that he wanted her to smuggle drugs in for him.
She claimed that she had tried to resist but had been put under severe pressure to accede to the request and had finally given in and gone to the jail with heroin.
Sheriff Lindsay Foulis granted Wright her freedom on bail until next month and imposed the condition banning her from entering any jail or YOI in Scotland.