targetted_decisions = {
######################################
####### Vatican				   #######
######################################
	Deplacement = {
		filter = all
		ai_target_filter = all
		ai = no
		diplomacy_icon = GFX_icon_Abdiquer_Vatican
		from_potential = {
			has_landed_title = k_papal_state
		}
		allow = {
			FROM = {
				is_landed = no
				independent = yes
				OR = {
					has_landed_title = k_papal_state
					has_landed_title = e_papal_state
				}
			#	NOT = {
			#		trait = trait_Sede_Vacante
			#	}
			}
			ROOT = {
				age = 0
				religion = FROM	
				rightful_religious_head = FROM
				is_theocracy = yes
				tier = baron
				OR = {
					AND = {
						FROM = {
							independent = no
						}
						same_realm = ROOT
					}
					FROM = {
						independent = yes
					}
				}
				NOT = {
					trait = Cardinal-Catholic
					has_minor_title = title_cardinal   
				}
				NOT = {
					any_liege = {
						has_claim = k_papal_state
					}
					has_claim = k_papal_state
					any_vassal = {
						has_claim = k_papal_state
					}
				}
				NOT = {
					top_liege = {
						custom_tooltip = {
							text = any_realm_character_deplacement
							any_realm_character = {
								has_claim = k_papal_state
							}
						}
					}
				}
			}
		}
		effect = {
			ROOT = {
				top_liege = {
					save_event_target_as = liege_bishop
				}
			}
			ROOT = {
				imprison = no
				abdicate_to = FROM
				move_character = FROM
				imprison = FROM
			}
			FROM = {
				set_defacto_liege  = event_target:liege_bishop
			}
		}
	}	
}