The word for the practice of manufacturing a plausible legal path to trapping a criminal using evidence gathered illegally

Solution 1:

Parallel construction is a legal term for building a case on alternative evidence.

en.m.wikipedia.org/wiki/Parallel_construction