Amazon and eBay's pledge to introduce tougher age checks on knife sales in the wake of a fatal school stabbing is not being enforced in Scotland, STV News has learned.

The UK Government announced last week that 12 major retailers had promised to ensure that "robust age checks" are in place after the killing of schoolboy Bailey Gwynne.

The Home Office is imposing the agreement in England and Wales, but the Scottish Government said it will be the job of a future parliament to decide whether to enter a similar deal with retailers after May's election.

It said the enforcement of laws regarding the sale of knives is the responsibility of Police Scotland as justice is a devolved matter.

Bailey, 16, died after being stabbed through the heart at Cults Academy in Aberdeen on October 28.

His killer, also 16, told detectives he bought the knife from Amazon and said he purchased it online because "they don't check if you're over 18". It is illegal to sell knives to under-18s in Scotland.

He also bought knuckledusters online and the internet history on his laptop showed Google searches including "illegal knives UK" and "knuckledusters UK".

He was sentenced to nine years detention at the High Court in Edinburgh on Friday.

Amazon, eBay, Tesco, Lidl , Wilko, Argos, Morrisons, Asda, Poundland, Sainsbury's, John Lewis, and Waitrose have all committed to providing regular staff training about the sale of knives, secure knife packaging and "robust age verification checks".

The Home Office will carry out follow-up test purchases in six months and provide feedback to retailers in England and Wales.