I'm not surprised that there are some extra protections in place for detained minors since they are by definition a vulnerable population. Also not surprising that these were agreed to only after extensive litigation alleging abuses and poor treatment. And that the resulting Flores Agreement reportedly wasn't implemented properly or fairly for many years. Or that the Trump Admin is trying to ditch these basic protections.
When I dealt with the INS, lawyers had to tread carefully since their clients and the other detained adults were not legally entitled to lawyers, but some lawyers/legal groups were permitted. Such access and representation could be cut off at any time.
We also learned that while the admin judges could order the guards to bring a detainee to a facility, if the guards failed to do so, the judge had no enforcement power and essentially no recourse. The guards could just toss out any excuse -- they couldn't find him, he wasn't at that facility, might have been transferred, etc. We had two Somalis that were lost in the system like that. We had to resort to asking other detained Somalis if they saw or had heard of the two missing fellas. For the most part the processing and admin centers were not the same as the holding/detention facilities.
The whole INS was poorly run, rights were granted in an ad hoc fashion, and a lot of the case resolutions were based on political considerations.