The soldiers were taken into custody Sunday while entering Venezuela in a taxi .