The official website for The Settlers of Catan

Question about General Questions Playing cards - May I play action cards that do not have any effect?

Answer

No. If you know that an action card can't have any effect, you are not allowed to play it.