The boy’s attorney argued his client was subject to a “planned group assault” and was defending himself.