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
Edinburgh and its institutions have been at heart of the Union since it came about in 1707, here we look at the city's history.
In Berwick-upon-Tweed - the town at the northern-most tip of England - history has taught them that no border necessarily lasts forever.
His car was about to get towed away. But he had other ideas.