Who would that be?

That is likely to be subject to interpretation and litigation. The court detailed several categories of foreign nationals who should be allowed into the United States: 1) people with a “close familial relationship” to someone in the United States; 2) students admitted to a university in the United States; 3) workers who have accepted an offer of employment from a company in the United States; and 4) lecturers invited to speak to an American audience.

But who qualifies for each of those categories will be up to the administration, and individuals denied entry might challenge those decisions in the courts.

Who remains blocked from coming to the United States after the court’s ruling?

The court basically said that foreign nationals with no “bona fide relationship” to the United States do not have the same rights and can be barred from entry. The justices wrote that the government’s authority to bar entry to the United States for national security reasons was “undoubtedly” at its peak when there is “no tie between the foreign national and the United States.”

What about refugees coming from places like Syria or other war-torn countries?

The court imposed the same rules for refugees as it did for those seeking entry from the six aforementioned countries. Refugees who already have some connection to the United States may not be summarily blocked from entry; those who have no prior connection to the United States may be blocked from entry.