When courts still use lie detector tests and first person accounts as evidence (both of which have been proven to be close to useless), this will take a while for an actual solution to come by.
So-called "lie detectors" are based on pseudoscience. They are just as much "investigative tool" as a kazoo can be used for drilling a hole in concrete.