I think there has been a case in the Supreme Court of Canada that can set a precedent for this. It's the Named Person v. The Vancouver Sun case, which you may or may not be familiar with. It found that the courts must balance the right to face your accuser with other rights, such as the truth-seeking function of the courts, protection of the witnesses, and so on.
I think the Supreme Court of Canada has heard evidence from the perspective of Named Person v. The Vancouver Sun that clause 17 may not be a problem. But I leave it at that.