2 men are battling for the title of police chief. A judge's ruling just gave one of them a leg up.