A judge who is required to attend an annual or special meeting prescribed by this chapter, or an educational course required by law, in addition to all other compensation allowed by law, is entitled to receive his actual travel expenses going to and returning from the place of the meeting or course and his actual expenses while attending the meeting or course.