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
Experts warn of bots manipulating the news agenda, social media and elections as well as the hijacking of drones and autonomous vehicles.
Opponents have accused May of being 'too weak' to face down hard Brexiteers after more than 60 MPs set out their demands for EU exit talks.
Sadly, these high-school students have already received the most abrupt and cynical lesson of their lives.