The judge really put herself in to that ruling. I doubt it was all simply paid for.
Baldwin's attorneys were free to pursue whatever trial strategy (within legal and ethical boundaries) they desired. And the judge was just as free to deny their motions. That she approved them, and so enthusiastically so, shows they had merit.