I don't buy it. A judge is not god. Forcing the government to call witnesses it has not talked to is absurd. It would be just as absurd if she had done this to the defense.
I agree that a judge isn't God. Judges certainly make mistakes.
However, if the prosecution really had a problem with her order, they should have made a motion to change her ruling. If the judge wouldn't change her order, they could have moved for a mistrial on the grounds that they were not allowed to properly prepare. They could have taken it to the press -- don't you think talk radio would've loved that angle? They did none of those things. Instead, the prosecution chose to try for forgiveness rather than permission, and they got caught. Now they're paying for it.