Local police were quickly called on to resolve the conflict but the refugees proceeded to attack police with stones and iron bars. At least three police officers sustained injuries in the confrontation that lasted for about four hours, Focus newspaper reported.
Police from surrounding towns were mobilized to subdue the unrest. A number of police vehicles were damaged during the clashes.
The incident is yet another episode in the European Union's struggles with the high inflow of undocumented immigrants trying to enter the bloc, fleeing conflicts in the Middle East and North Africa.
In July, Germany’s federal migration office received an all-time record number of asylum applications in one month, of 79,000. Most asylum-seekers applicants in Germany come from Syria, Afghanistan, Eritrea and Serbia.