PRAGUE — As European far-right leaders gathered in Prague on Saturday for a two-day conference to unify their stance on immigration and other issues, they were met by throngs of protesters who booed, shouted “Shame” and denounced populism and xenophobia.

The members of the European Parliament, including Marine Le Pen of France and Geert Wilders of the Netherlands, met as part of the nationalist Europe of Nations and Freedom coalition at a heavily fortified hotel just outside the city center in the Czech Republic, which has seen a rise in far-right politics and nationalist rhetoric.

At a news conference, Mr. Wilders, leader of the Dutch Party for Freedom, called on the European Union to adopt more restrictive immigration policies and said the conference would serve to usher in a new era of cooperation among like-minded parties.

“In 30 or 50 years, the Czech Republic will be surrounded by countries with population where 20 percent of people will be Muslims.” Mr. Wilders said. “That is as if the Czech Republic became a Gaza Strip. We need to prevent mass migration even if we should build a wall.”