A federal judge in Hawaii ruled Thursday night that part of the Trump administration's travel ban is too broad, meaning that it cannot block grandparents and other relatives of people in the U.S. as intended.

The ruling by Hawaii District Court Judge Derrick Watson prevents the government from enforcing two parts of the travel ban.

The federal government cannot use the executive order to "exclude grandparents, grandchildren, brothers-in-law, sisters-in-law, aunts, uncles, nieces, nephews, and cousins of persons in the United States," Watson wrote.

Watson also ruled that a refugee who has "assurance from a United States refugee resettlement agency" that they will be provided placement services cannot be blocked from travel.

Watson says his ruling is null if the government files an emergency appeal. The government had not issued a response as of publication.

The Supreme Court last month allowed the Trump administration's ban on foreign nationals from six Muslim-majority countries to go forward in a limited scope. It said the administration could not apply the temporary ban to these travelers if they have a "bona fide relationship with the U.S."

The Trump administration defined "bona fide relationship" to mean close family members only: parents, spouses, siblings, children, and engaged partners. It would block entry of grandparents, grandchildren, aunts, uncles, nieces, nephews, and cousins from the six countries.

Hawaii had argued this interpretation of "bona fide relationship" was too narrow.