Court bans children over security fear