Germany summoned Iran's ambassador in Berlin after a Hamburg court sentenced two men for spying for Iran and plotting attacks on Jewish and pro-Israel figures in Germany.