Counter-terrorism officers with the Australian Federal Police are investigating the incident, a children’s court has heard.