Jobs that are safe in the medium term, according to the study, included detectives, judges and magistrates - perhaps indicating that while the jobs could become automated in theory, the complex technology required is yet to meet the demands.