The decision to counter a spell or destroy a permanent is a decision made on announcement before the target is selected. If the spell is redirected, this mode can't be changed, so only targets of the selected type are valid.

Artwork
Loading artwork…
Pyroblast
Secret Lair Drop · #2707 · EN
Nonfoil—Foil—
Card rules
Choose one —
• Counter target spell if it's blue.
• Destroy target permanent if it's blue.
Rare · Illustrated by Mark Poole
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Pyroblast can target any spell or permanent, not just a blue one. It checks the color of the target only on resolution.