The two expert talking heads on Swedish TV are divided on the goal. One thinks it should have been a free kick, the other thinks the ref was right.
Personally, I wanted to see the goal disallowed.
But, I am biased :-)
It's really a judgement call on this one. If I was the ref, I would have allowed the goal, and prepared for years of hate mail from down under.