Millions of decisions about who has the right to visit or stay.