Banning circumcision seems like a pretty simple anti-foreigner measure.
I don't think this is what the judges at the court in Cologne had in mind when they made that ruling, though. They probably made that ruling in good faith but they lacked any kind of historical and religious sensitivity.
I am not certain of it but it's certainly possible. It's a line of research journos shy away from, obviously.
That the government now agrees with the position the Greens took the day after the verdict is due to Jewish, not Muslim, pressure, of course.