To quote the highway code.
"Overtake only when it is safe and legal to do so. You should give way to oncoming vehicles before passing parked vehicles or other obstructions on your side of the road.". This guy didn't and decided to squeeze me to the kerb :(