he was appointed a substitute district judge by the ministry of justice