The Supreme Court on Wednesday handed down a 6-3 decision blocking President Donald Trump's attempt to bar people from the U.S. who already have family members in the country.

The justices' ruling directs the government to allow the grandparents, cousins and other relatives entry to the U.S.

Last month, the top court allowed certain parts of Trump's travel ban to go into effect. The Supreme Court will hear arguments on the travel ban in October.

Stocks in the sectors potentially affected by the travel ban include hotels, airlines and cruise lines. Related companies such as Marriott International (MAR - Get Report) , American Airlines (AAL - Get Report) and Royal Caribbean (RCL - Get Report) were trading mostly flat after the court's ruling. 

More of What's Trending on TheStreet: