They, or their attorney, can use any defense that they think the court may accept as a mitigating reason. The "age of reason" for a minor is usually set at around 7 years of age. Before that age the law considers them to young and inexperienced to know right from wrong.