One factor, for instance, would be how much of a threat was posed. If said group was going to overthrow the state by force of arms, then of course harsher measures would have to be taken than otherwise. Other options include voluntary emigration, fines, and limitations. All of this, of course, would require a means for judicial appeal and also elections, to lessen the risk of abuses.