L'avocat(e) is the French word for the lawyer, the attorney or the barrister. It does not have the same meaning as the English word 'the advocate'. All lawyers are advocates but not all advocates are lawyers. This distinction is important when one needs to specifically refer to a lawyer.
"speaking with the judge" isn't accepted.
Speaking with, and speaking to is pretty identical in english.