School officials explained the move will assist schools to more effectively integrate foreign-born children into Danish society.
Since the beginning of the current EU migrant crisis, the Langkaer school, and Denmark in general, has seen migrant inflow levels surge. As of now 80 percent of students in Langkaer are migrants, a significant increase compared to 2007, when non-Danish students stood at 25 percent of the total.
"For real integration to take place in a class there has to be sufficient numbers from both groups for it to happen,” school head Yago Bundgaard said in an interview with DR, adding that students were chosen based on the sound of their names.
The move caused outrage among advocate groups, labeling it ethnic segregation and a refusal to assimilate newcomers into the country.
“It is pure discrimination when you sort people according to whether they are white or brown Danes,” Jette Moller, president of the nongovernmental organization SOS Against Racism, said in local newspaper Jyllands-Posten.
Danish education minister Ellen Trane Norby promised to order the school to conduct a report on the issue.
"The fundamental problem is that we in Denmark have… schools with a too high ratio of students with a different ethnic background than Danish,” she posted on Facebook.
Many countries have established systems to assimilate migrants, with countries including Germany creating “international classes” for students. Denmark, however, has been consistently targeted in multiple media reports as a country that is not welcoming to immigrants.