I apparently have a different understanding of what "doing science" means. To me, it means performing experiments, taking measurements, testing theories etc. the result of which is usually some kind of scientific publication. I'm obviously not advocating that this kind of work be done by the judicial branch.
So what am I imagining the judicial branch to do?
Assume the new leadership of the EPA decides to introduce some new policy based on bogus cherry-picked studies that deny the reality of climate change. When people rightfully complain that this is not the "best available science", the case goes to a judge.
The judge now has to decide whether or not the HONEST act was violated. To do that, since they are themselves not in a position to judge the science involved, they will likely have to rely on expert testimony. Given the overwhelming consensus in the scientific literature, a judge would have to be quite crooked indeed not to find that studies that completely fail to reflect this are not the "best available science". They should thus find in favor of environmentalists against the EPA.
Am I too naive in imagining this outcome?