A 14-year-old boy was taken home by officers who gave him strong words of advice