PARIS  After France was booted from this year’s World Cup on Tuesday without winning a match  amid scenes of selfishness, indifference and indiscipline  the French news media piled on about the humiliation to the country and the misbehavior of its players. There were calls for a complete restructuring of the French team: its management, its method for choosing players, its training.

But there is a more troubling aspect to the reaction to the defeat, which has focused on lack of patriotism, shared values and national honor on a team with many members who are black or brown and descended from immigrants.

The philosopher Alain Finkielkraut, who has often criticized the failures of French assimilation, compared the players to youths rioting in the banlieues, France’s suburban ghettos. “We now have proof that the French team is not a team at all, but a gang of hooligans that knows only the morals of the mafia,” he said in a radio interview.

While most politicians have talked carefully of values and patriotism, rather than immigration and race, some legislators blasted the players as “scum,” “little troublemakers” and “guys with chickpeas in their heads instead of a brain,” according to news reports.