This Part does not apply if in the course of installing or using a listening device or an optical surveillance device an act is done that is unlawful under any law or any Act other than this Act.