country_decisions = {

	pragmatic_sanction_decision = {
		potential = {
			allows_female_emperor = no
			NOT = { has_country_flag = pragmatic_sanction }
			is_part_of_hre = yes
		}
		allow = {
			imperial_influence = 25
			prestige = 1
			legitimacy = 90
			allows_female_emperor = no
			has_female_heir = yes
			is_emperor = yes
			if = {
				limit = {
					NOT = { hre_reform_passed = erbkaisertum }
					NOT = { hre_reform_passed = emperor_erbkaisertum }
				}
				custom_trigger_tooltip = {
					tooltip = LAWS_OF_THE_GOLDEN_BULL_ARE_NOT_ACTIVE
					OR = {
						NOT = { has_global_flag = hre_golden_bull_enacted }
						has_global_flag = hre_golden_bull_removed
					}
				}
			}
		}
		effect = {
			add_imperial_influence = -25
			add_legitimacy = -25
			country_event = { id = pragmatic_sanction.2 }
		}
		ai_will_do = {
			factor = 1
		}
	}

}
