Prevention of crimes that infringe on the rights and legitimate interests of the minor