Nigeria's criminal justice system faces complex legal, ethical and practical dilemmas when children are implicated in terrorism-related offences.