A judge in Brooklyn was publicly admonished Thursday for giving an ultimatum to an attorney in a closed-door conference: either accept an immediate settlement in the case or be reported for remarks made in open court that were perceived as racist and offensive.

The state Commission on Judicial Conduct, in a public determination, recommended that Brooklyn Supreme Court Justice Genine Edwards be given a sanction of admonition over the incident.