Fair points everyone. I'll take all this on board.
I think the person most at fault was the person who parked the van there!
I will just say that seeing as I was well into the gap before he even appeared, I don't think the fact that I was on "his" side of the road is relevant. But we both should have been going a bit slower. If I had been him I would have stopped.
You live and learn, hopefully.