Legal education is required. Lawyers compete with each other for the judge spot by studying and scoring as high as possible on the test. It's the dream job of the legal profession.
To add a bit, the test is so tough that lawyers don't really compete against each other. From all the lawyers in the country wanting to have that position (that is the dream job), not enough of them get the minimum score to fill all positions.