Germany says NATO not a party to war in Ukraine