BROWNSVILLE, Texas—Each morning well before sunrise, dozens of immigrants line up on the international bridge here to enter a recently erected tent facility at the U.S. border.

Inside a large wedding-style tent, the government has converted shipping containers into temporary courtrooms, where flat screens show the judge and a translator, who are in front of a camera in chambers miles away.

The...