succession_laws = {
	
	succ_franceabsoluteimperial = {		
		potential = {
			OR = {								
				AND = {
					has_global_flag = IamFranceKing_flag					
					holder_scope = {
						religion_group = christian									
					}
					OR = {
						title = k_french_religions_head
						title = e_french_religions_head						
						#title = k_france
						#title = e_france
					}
				}
				AND = {
					has_global_flag = Common_SchismCatholic_flag
					holder_scope = { 
						religion_group = christian
					}
					OR = {						
						title = k_catholic_head
						title = e_hre
					}														
				}
				AND = {
					has_global_flag = France_SchismCatholic_flag
					holder_scope = { 
						religion_group = christian
						NOT = { religion = frtholic }
					}
					OR = {						
						title = e_byzantium
						title = e_roman_empire
					}														
				}				
				#holder_scope = { government = france_absolute_imperial_government	 }
				AND = {
					holder_scope = { tier = EMPEROR }
					holder_scope = { has_law = autocratic_falv_4 }					
				}				
			}			
			NOT = { title = k_papal_state }			
		}
		allow = {
			has_law = law_voting_power_0
			has_law = autocratic_falv_4
		}
		effect = {
			succession = {
				base_type = feudal_elective
				#base_type = tanistry
				#voting_rules = hre_feudal_elective
				voting_rules = franceabsoluteimperial_elective
			}
			#elective_voting_rules = eldership_rules
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 1
		}			
	}
	
}