It's in the rules.
You do what the treachery card says...then discard it. Now the objective card is unguarded and you can claim it anytime you want.
Actually you will be really lucky if you get treachery cards (not always)...
Did you read the latest FAQ? It talks about "when revealed" effects and the word "reveal".