Judge dismisses barrister's race case as vexatious