It wasn't a bad decision,Judge made that call and that was a bad decision imo. It will be argued and appealed regardless so we will see.
A witness being forced to give a statement is a serious claim that would have destroyed the prosecution's case if it was proven to be true. They don't take those claims lightly, defense should have realized it was a bad move to make claims about a situation that's been recorded.