Can a judge have political affiliations? Here's what happens