SEATTLE (AP) – A federal appeals court has rejected the Trump administration’s limited view of who is allowed into the U.S. under the president’s travel ban.

A three-judge panel of the 9th U.S. Circuit Court of Appeals ruled Thursday that grandparents, cousins and similarly close relations of people in the U.S. shouldn’t be prevented from coming to the country.

READ MORE: Mother's Day Rush Highlights Staffing Shortages At North Texas Restaurants

The court also said refugees accepted by a resettlement agency shouldn’t be banned.

READ MORE: Body Of Elderly Man Recovered From Joe Pool Lake

In June, the U.S. Supreme Court said the 90-day ban could be enforced pending arguments set for October. But the justices said it shouldn’t apply to visitors who have a “bona fide relationship” with people or organizations in the U.S., such as close family ties or a job offer.

The government interpreted such relations to include immediate family members and in-laws, but not grandparents, cousins, aunts and uncles.

MORE NEWS: Woman Killed By Ex-Boyfriend, Who Was Later Found Dead By Suicide, Dallas Police Say

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)