It did not allow: "The judge works in the court."
It should have allowed it, it's among the accepted answers, must have been a bug.
How about courthouse?
Please also "justice" and "at the court"
That's a potentially confusing Polish quirk - according to wiki, sędzia (male) is spelt the same in nominative as sędzia (female), and only some declensions are different.