The official website for The Settlers of Catan

Question about Wizards & Dragons Countermagic - Can I still use the Countermagic after other protective measures have failed?

Answer

No. A Countermagic doesn’t prevent a card’s effect, it prevents a card from being played. That’s why a Countermagic must be used immediately after the card is played.