Chancellor Angela Merkel, speaking after a weekend in which some 20,000 migrants made their way to Germany from Hungary by train, bus and on foot, described the events of the past days as “breathtaking” and tried to reassure German citizens that the crisis was manageable.

“I am happy that Germany has become a country that many people outside of Germany now associate with hope,” she said at a news conference in Berlin. “This is something to cherish when you look back at our history.”

But she and her vice chancellor, Sigmar Gabriel, coupled their message of optimism with a warning to European Union partners who have resisted a push from Berlin, Paris and Brussels to agree quotas for refugees flowing in mainly from Syria, Iraq and Afghanistan.

“What isn’t acceptable in my view is that some people are saying this has nothing to do with them,” Merkel said. “This won’t work in the long run. There will be consequences although we don’t want that.”