The trial became a mirror, reflecting a country deeply divided on the moral and legal questions raised by its border enforcement strategies.