valid_demand_conversion_conditions_trigger = {
	scope:recipient = { is_diplomatically_available = yes }
	scope:recipient = { NOT = { has_strong_hook = scope:actor } }
	scope:recipient = { NOT = { has_trait = devoted } }
	scope:recipient = { NOT = { has_trait = order_member } }
	scope:recipient = {
		NOT = { is_imprisoned_by = scope:actor }
	}

	### Regula devoted can't be converted by anyone but the magister.
    trigger_if = {
        limit = {
            scope:recipient = { has_trait = devoted_trait_group }
        }
        scope:actor = { has_trait = magister_trait_group }
    }

	custom_description = {
		text = "is_head_of_religion"
		subject = scope:recipient
		NOT = { scope:recipient.faith.religious_head = scope:recipient }
	}

	custom_description = {
		text = "is_protected_via_contract"
		subject = scope:recipient
		NAND = { # Vassal Contract forbids meddling by liege
			exists = scope:recipient.liege
			scope:recipient.liege = scope:actor
			scope:recipient = {
				is_ruler = yes
				has_government = feudal_government 
				vassal_contract_has_flag = religiously_protected
			}
		}
	}
}