This is actually one of the most common question I get. Polish lawyers who qualified as advocates, legal advisors, judges or prosecutors all have have to wear black robes (gowns) while in court and the only distinction revealing their profession is the colour of a jabot, which is a piece of material around the collar.
Advocates wear robes with a green jabot and green piping of the collar and the sleeves.
Legal advisors wear robes with a blue jabot and piping.
Judges wear robes with a purple jabot and purple piping.
Prosecutors wear robes with a red jabot and red piping.
Polish lawyers don't wear wigs! :)