on_actions = {
    on_annex = {
        effect = {
            if = {
                limit = {
                    has_global_flag = RUS_all_russian_congress
                    FROM = { is_russian_nation = yes }
                    ROOT = { is_russian_nation = yes }
                    NOT = {
                        any_country = {
                            is_russian_nation = yes
                            is_in_faction = no
                        }
                    }
                }
                if = {
                    limit = {
                        has_global_flag = ARC_against_fascism
                    }
                    event_target:ARC_leader = { country_event = ARC.102 }
                    clr_global_flag = ARC_against_fascism
                }
                else_if = {
                    limit = {
                        has_global_flag = ARC_against_socialism
                    }
                    event_target:ARC_leader = { country_event = ARC.103 }
                    clear_variable = global.socialist_russian_countries
                    clear_variable = global.democratic_russian_countries
                }
            }
        }
    }
}