If someone attempts to rob you, is it illegal to give them FAKE money?

So that it backfires on them?

If someone attempts to rob you, is it illegal to give them FAKE money?
Post Opinion