I was very surprised to see it over ruled, I'm of the opinion that handball needs to be deliberate, I think the player is pulling his arm away from the ball and very close to the cross which then in my eyes makes it accidental.
I guess it's all about interpretation ,like you state, the law is...