Teens ordered to attend classes on sex education and responsible use of AI.