Teens should not necessarily be considered "children". The law protects them from certain responsibilities and prohibits them from certain activities based on their immaturity. However, when they deliberately become criminals, they bring on themselves the consequences for their criminal actions.
It does not make sense to me.