court_tab = {
		
	appointnewjustice = {
	cost = 150
    days_remove = 5
	
	visible = { check_variable = { numjustices < 12 } }

	remove_effect = {		
		country_event = {
   				 id = supc.6
				}
			}   
		}



 investigation12 = {
	visible = {
		 has_country_flag = judgehave 
		 has_government = democratic
          }
          cost = 750
		
       		days_remove = 125
		days_re_enable = 160
		complete_effect = {
				random_list = {
   				25 = {
      					  add_stability = 0.05
   					}
  				  75 = {
      				  set_country_flag = investigated
  					  }
    					}
		
							 
          }
	}
	
votetoimpeach = {
	cost = 150
    days_remove = 5
	days_re_enable = 100
	
	visible = { check_variable = { numjustices = 12 } has_government = democratic }
	
	remove_effect = {		
				country_event = {
   				 id = supc.7
				}
			}   
		}
		
impeach_with_force = {
	cost = 150
    days_remove = 50
	days_re_enable = 100
	
	visible = { check_variable = { numjustices = 12 } NOT = { has_government = democratic }

	remove_effect = {		
		subtract_from_variable = { numjustices = 1 }
			}   
		}
	
	
}
