While the police in the play are nameless Nazi officers, the real life officer who arrested the inhabitants of the Annex was Karl Silberbauer. Originally from Vienna, Austria, he began working for the Gestapo in 1938. He transferred to Amsterdam in 1943, just months before the fateful arrest of Anne Frank and the others in the Annex. His job was to transfer people to concentration camps. He later became a spy for West Germany after the war, reporting on communists. He always insisted that he was only doing his job when he sent those in the Annex away, inevitably to their deaths.
Sources: http://www.annefrank.org/en/Subsites/Timeline/Floating-pages/1963---Karl-Silberbauer-discovered/
www.independent.co.uk/news/world/europe/nazi-who-arrested-anne-frank-became-a-spy-for-west-germany-2266077.html
www.independent.co.uk/news/world/europe/nazi-who-arrested-anne-frank-became-a-spy-for-west-germany-2266077.html