Loki did not do this. He swears on his immortal life. (No, you didn’t just hear him snicker!)
In this case, Loki is putting forth a gnome to be a scapegoat:
Personally, I don’t think it was the gnome, not this time. Even with as creepy as he is:
Watch out, he’ll steal your soul!