Grandparents and other relatives of people living in the US cannot be barred from entering under President Trump's travel ban, a judge has ruled.
The order, by District Judge Derrick Watson in Hawaii, is a fresh legal blow to Mr Trump's immigration crackdown.
The judge said the ban had interpreted a Supreme Court ruling too narrowly.
That decision, made last month, partly reinstated the ban on refugees and travellers from six Muslim-majority countries.
It said only those with "bona fide" family ties would be let into the US.
But the Trump administration decided that did not include grandparents, grandchildren, brothers-in-law, sisters-in-law, uncles, aunts, nephews, nieces and cousins.
Judge Watson, however, disagreed - and ordered that those restrictions should not be enforced.
The judge condemned the government's definition of a close relative as "unduly restrictive".
"Common sense, for instance, dictates that close family members be defined to include grandparents. Indeed, grandparents are the epitome of close family members", he wrote.
Judge Watson's ruling has far-reaching consequences for the United States, and not just Hawaii.
He is one of about 700 judges in the district courts, which - despite the name - are part of the federal system, rather than local state courts. Their role is to interpret the law on federal issues using powers devolved to them by the Supreme Court.
Mr Trump's ban on travel to the US for people from Iran, Libya, Somalia, Sudan, Syria and Yemen has been controversial since its announcement.
The Supreme Court is still considering the current version of the law, and allowed a temporary ban to come into effect in June pending their full judgement.
Mr Trump says the restrictions are needed to keep America safe and prevent terror attacks.