The Trump administration must allow visitors from six Muslim-majority nations into the US if they already have a grandparent, cousin, or other relative in the country, according to a 6-3 ruling by the US Supreme Court on Wednesday. The Supreme Court stated in June that Trump's travel ban could go into effect for people without a "bona fide relationship" in the US but didn't define what that meant, the Washington Post reports. According to Bloomberg, the Trump administration was trying to limit it to people with a parent, spouse, fiance, child, sibling, or in-law in the US. But it wasn't all bad news for the president. The Supreme Court ruled Trump's refugee restrictions can go into effect while an appeal is heard. The Supreme Court will hear arguments on the legality of Trump's travel ban as a whole in October. (More Trump travel ban stories.)