European Court of Human Rights demands that Poland and Latvia took care of refugees