pte_protect_religious_bretheren = {
	category = 6
	power_projection = no
	power_cost_base = 0
	prestige_base = 0.5
	ae_base = 0
	warscore_cost = {
		all_provinces = 0.0
		no_provinces = 0.0
		owner_keeps = 0.33
		conquered = 0.0
		returned_core = 0.0
		released_nation = 0.0
		cancelled_subject = 0.0
		concede_colonial_region = 0.0
	}
	warscore_cap = 80
	requires_demand_independence = yes
	is_make_subject = yes
	requires_is_allowed = yes

	is_visible = {
		religion_group = FROM
		NOT = { religion = FROM }
		FROM = {
			any_owned_province = {
				religion = ROOT
			}
		}
	}
	is_allowed = {
	}
	effect = {
		FROM = {
			remove_country_modifier = pte_protect_religious_bretheren_modifier
			add_country_modifier = {
				name = pte_protect_religious_bretheren_modifier
				duration = 3650
			}
		}
	}
	ai_weight = {
		export_to_variable = {
			variable_name = ai_value
			value = 10
		}
		limit = {
			always = yes
		}
	}
}