Input (grade 13): He worked briefly as a court shoemaker until, on August 24, 1906, police expelled him from Berlin as undesirable, based solely on the fact that he was a former prisoner.
Output (grade 11): He worked briefly as a court shoemaker until, on August 24, 1906, police expelled him from Berlin as an "undesirable" (someone who is not wanted).