Legal question on bugs

Suppose a PI is hired by a client to sweep his house for bugs. He finds several and removes them. It then turns out that the bugs were installed by the FBI with a court order.

Has the PI committed a crime?

This was just covered here , although there was not much action on it.