Some have held that one gets a reward for good intentions (against the Kuzari) IMHO one exception would be charity. If one gives charity to an imposter who is not poor it would seem that he has not accomplished the mitzvah -- Eli Turkel