Costa Rica has decided not to cancel its match against Iran in Tehran , even though a legislator said it would be wrong to play because of Iran 's nuclear program and because of recent statements by its president about Israel .