The German idea of ending the war in Ukraine poses a threat to Poland's security.