Mr Justice MacKay adjourned Smedley's sentencing to a date yet to be fixed for the preparation of a pre-sentence report, and remanded her into custody.
He told her: "I want you to understand that you stand in very real peril of a prison sentence as a result of this conviction. Don't have any delusions about it."
More top news
Fans have been given the first look at the new 007 film starring Daniel Craig as the secret agent and directed by Sam Mendes.
Nicola Sturgeon will today pledge that her party will work with others to bring about "positive change" for ordinary people across the UK.
Half of teachers said the number of youngsters dealing with difficulties, such as depression, has risen compared to two years ago.