I get it, but it's still a stupid law that punishes the average iranian citizen that has nothing to do with the iranian government. I recently lost a job offer in a semiconductor company because of the deemed export law. And by "a foreign person" they actually mean chinese, iranian, syrians and cubans. Most technologies aren't restricted to most of the world including Saudia Arabia and Pakistan the origins of almost all terrorists.
Then using this logic, why only ban iPad purchase. Why not laptops, PDA etc. Point is that it is stupid to do what this particular apple store did. They assumed that just because the person spoke foreign, they are foreigners and not US citizens.