the chapters voluntarily transferred their right of electing the bishop to emperor charles v , and when clement vii gives his consent to these efforts .
emperor charles xv was selected by benedict xi .