Then it could be worthwhile practicing that sideways slide maneuver into unexpected obstacles, and always remembering the law is on your side, if there is any law in your country.
[But, like the original bike safety article says, also try not to be so close to stopped vehicles that a door collision can happen]