The judge said the rapist had targeted a foreigner who was unfamiliar with local authorities and subjected her to degrading acts.