mass migration was generally very economically and politically disruptive , so it was being discouraged by state and national governments and enforced through the use of pids and guarded state boundaries .