A legal battle over a proposed border security project in the Big Bend National Park region is playing out in a San Antonio federal courtroom.