Complex sentence: Count and bishop should together chose a vice-count to rule in their stead; and when they could not agree on a candidate, the emperor could name the vice-count himself.
Split into simpler sentences: Count and bishop should together chose a vice-count to rule in their stead. When they could not agree on a candidate, the emperor could name the vice-count himself.