A teenager accused of brandishing a knife has been remanded in custody until Thursday.
Larri Goodlad, 17, of Hill Grind, Lerwick, was arrested after allegedly behaving in a threatening manner and having the weapon while on bail.
His case before sheriff Philip Mann was continued without plea for three days when other charges Goodlad is facing will come before the court.
Defence agent Tommy Allan called for Goodlad to be allowed his liberty until then.
However procurator fiscal Duncan MacKenzie said a short period of remand would offer Goodlad a “taster” of what life would be like should he fail to change his behaviour.
He said Goodlad had failed to engage with social workers after efforts were made to address his misuse of drugs.
Sheriff Mann said questions surrounding Goodlad’s drug misuse meant a custodial sentence was possible.
“It seems to me that things are racking up against you at an alarming rate. For your own benefit, and for the benefit of the public, it would be appropriate on this occasion to refuse you bail, and I am going to remand you in custody until Thursday.”