Why would non-citizens be banished or detained by the state? 
Non-citizens may be banished or detained by the state if their presence is believed to threaten the state's security, or if setting them free would risk breaching public security and order.