Hi,
One can make a question like mentioned but what is the purpose of the question, when you already know the aswer in advance? To express surprise because your surprise seemed to suggest you didn't know that there are female judges in Germany. I was also expressing a little subtle...