You just have to pray.
For me, if its 2 spaces like that, i'll remain in 1 bay, but get as close to the edge of my bay on the empty side - putting people off parking next to me as its too small, but im not a tw@t for taking 2 spaces
If im parking next to 2 cars, i try to pick it where both pasenger sides open onto my car - as the odds are reduced that someone will be using that door (although the odds are increased that they'll be more careless )