title_decisions = {
cv.1 = {
  is_high_prio = yes # Will show an alert once decision is enabled
		only_playable = yes
		filter = owned
		ai_target_filter = owned
		is_high_prio = yes
		
		from_potential = {
			is_playable = yes
			is_nomadic = no
			higher_tier_than = COUNT
		}
		
		potential = {
			owner = { character = FROM }
			tier = count
			has_law = crownvoivod_3
		}

		allow = {

			location = {
				capital_holding = {
					NOR = {
						has_siege = yes
						is_occupied = yes 
					}
				}
			}
			
			FROM = {	
				AND = {
					independent = no
					tier = KING
					realm_size = 55
				}
			}
		}
  effect = {
    location = { add_province_modifier = crowndemesne }
  }
  revoke_allowed = {
    always = no 
  }
  ai_will_do = {
    factor = 1
  }
}
}