pte_enforced_royal_marriage = {
	category = 6
	power_projection = no
	power_cost_base = 0.5
	prestige_base = 0.5
	ae_base = 0
	warscore_cost = {
		all_provinces = 0.0
		no_provinces = 15.0
		owner_keeps = 0.0
		conquered = 0.0
		returned_core = 0.0
		released_nation = 0.0
		cancelled_subject = 0.0
		concede_colonial_region = 0.0
	}
	warscore_cap = -1
	requires_demand_independence = no
	is_make_subject = no
	requires_is_allowed = no

	is_visible = {
		OR = {
			has_reform = monarchy_mechanic
			has_reform = tribe_mechanic
			has_reform = signoria_reform
			has_reform = dutch_republic
			has_reform = commander_king_reform
			has_reform = admiral_king_reform
		}
		FROM = {
			OR = {
				has_reform = monarchy_mechanic
				has_reform = tribe_mechanic
				has_reform = signoria_reform
				has_reform = dutch_republic
				has_reform = commander_king_reform
				has_reform = admiral_king_reform
			}
		}
	}
	is_allowed = {
		NOT = { marriage_with = FROM }
		religion_group = FROM
	}
	effect = {
		FROM = {
			country_event = { id = pte_events.2 days = 1 }
		}
	}
	ai_weight = {
		export_to_variable = {
			variable_name = ai_value
			value = 1
		}
		limit = {
			has_reform = monarchy_mechanic
			religion_group = christian
			dynasty = FROM
			num_of_free_diplomatic_relations = 1
			NOT = { is_rival = FROM }
			FROM = {
				num_of_cities = 5
			}
			OR = {
				NOT = { is_neighbor_of = FROM }
				FROM = {
					NOT = {
						num_of_owned_provinces_with = {
							value = 3
							OR = {
								is_claim = ROOT
								is_core = ROOT
							}
						}
					}
				}
			}
		}
	}
}