Alameda County judge celebrates 40 years on bench, beating the odds with RBG