It’s perhaps a bit broader than your definition there, but illegal exploitation and subsequent whitewashing of personal data by law enforcement is common enough that is has a name. Parallel construction. https://en.m.wikipedia.org/wiki/Parallel_construction
Another point. For me, being caught zero times doing an illegal thing is a world apart from being caught one time. The chances on you being caught the only time you ever did s specific illegal act is so small that you pretty much go from assumed innocent if you’ve never been caught, to probably guilty if you’ve been caught even once before.
(That’s not an “assumed innocent “ in its legal context, I 100% agree a court should assume 2nd, 3rd, and 100th time convicted people are “innocent until proven guilty” and the prosecution should need to bring a strong enough case ignoring previous conviction to get a fair judgement. But if you’ve been caught using illegal methods before, I’m going to assume it’s something you have convinced yourself is ok, and you’ll do it whenever it suits you so long as you consider the chance of getting caught is low enough.)