This film was actually released in 1991. The new dress code for the legal profession in England didn't come into effect until 2007. Judges and barristers still wear them for criminal cases. Archer's description of the magistrate would actually be factually correct.
Archer mentions that the magistrate who sentenced him to borstal (juvie) was wearing a wig. British magistrates do not wear wigs.