“Everybody needs totally proper documentation because, look, the Bahamas had some tremendous problems with people going to the Bahamas that weren’t supposed to be there,” Mr. Trump said Monday. “I don’t want to allow people that weren’t supposed to be in the Bahamas to come into the United States, including some very bad people and some very bad gang members, and some very, very bad drug dealers. So we’re going to be very, very strong on that.”

Karl Henri Chatelier, the first secretary of the Haitian Embassy in Nassau, said his country was not in the position to be making demands of the Bahamian government on behalf of Haitian citizens.

“We cannot say that if they stay, they are going to be persecuted,” Mr. Chatelier said Thursday outside one of the shelters. “We want to make sure they are well treated, want to make sure they are in good health. When you are not in your living room, not in your bed, things will be difficult for you.”

At the church shelter, some storm survivors got so upset recounting the conditions that uniformed soldiers warned Times journalists doing the interviews against “inciting a riot.”

“I think Haitians and Bahamians are being treated the same: bad,” said Timothy Rolle, one of the few Bahamians at the shelter, whose furious diatribe contributed to the soldier’s admonition.

A few hours later, after a week at the shelter, the survivors were provided air beds.