The incident occurred at Stoneywood School in Dyce