The official website for The Settlers of Catan

Question about General Questions Playing Cards - Can I play Action Cards that do not have any effect?

Answer

No. If you know that an Action Card can’t have any effect, then you are not allowed to play it.