In the US federal judges are appointed for life. A student from France asked me about procedures to remove federal judges who may suffer from a mental disability but who have not committed some sort of crime which would warrant removing them from their positions. It's actually a tricky issue in the US (
http://uslaw.blogbaker.com/2014/04/05/federal-judges-are-appointed-for-life-what-if-a-ju).
I was wondering about procedures in other countries.