EU isn't alone in poor treatment of migrants