Just being court-ordered doesn’t mean it’s OK if the court was misled into it by the wanna be spies.
Or if the court and its judges were in cahoots with the spies.