From delinquent behavior to official delinquency