If you are a country currently in a weird war like situation looking for ways to make your opponent look foolish without escalating militarily, this seems like an amazing avenue.
I'm guessing Iran will claim it as an attack even if it doesn't end up being them in the end.