Over the years, Western governments have been criticized for working with foreign police who have proved abusive or corrupt.