I see this kind of thinking on HN a lot (though to be fair, it’s not limited to HN). If a court asks for data, you give them the data they ask for, or you straight-up sue them if the data is somehow privileged or the request is unconstitutional. There is no space for individual cleverness when dealing with legal stuff, and judges do not take kindly to “bUt i FoLlOwEd ThE InStRuCtIoNs!”-style defenses.
Many people seem to beleive the justice system behaves like a set of if...then clauses. I blame the mass production of crappy US courtroom drama - people start thinking it's how the real world works.