If the chosen target is an illegal target by the time Intervention tries to resolve, the spell doesn't resolve. You don't gain 3 life.

Artwork
Loading artwork…
Integrity // Intervention
Ravnica: Clue Edition · #198 · EN
Nonfoil—Foil—
Card rules
Integrity
Instant
Target creature gets +2/+2 until end of turn.
Intervention
2Instant
Intervention deals 3 damage to any target and you gain 3 life.
Uncommon · Illustrated by Ben Maier
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
To cast a split card, choose one of its halves to cast. There's no way to cast both halves of this split card.
Each split card is a single card. For example, if you discard a split card, you've discarded one card, not two. If an effect counts the number of sorcery cards in your graveyard, Assault // Battery counts once, not twice.
Each split card has two names. If an effect instructs you to choose a card name, you may choose one of those names, but not both.
A split card's characteristics are a combination of its two halves while it is not on the stack. For example, Assault // Battery has a mana value of 5 while it is in your library. If an effect allows you to search your library for a card with mana value 4 or less, you can't find Assault // Battery.
If an effect allows you to cast a spell with certain characteristics, consider only the characteristics of the half you're casting. For example, if an effect allows you to cast a sorcery spell with mana value 2 or less from among cards in your graveyard, you could cast Assault this way, but not Battery.
Split cards have two card faces on a single card. The characteristics of the half you didn't cast are ignored while the spell is on the stack.
If you copy a spell that's half of a split card, the copy copies that same half. For example, if you copy Assault, the copy is also Assault, not Battery.