The experimental psychologist in court