When I lived in Epsom in recent years double yellows were put around many corners, to address concerns about emergency services access being frustrated that had been highlighted by residents and the services themselves, after (non-statutory) white lining attempts to deter were being ignored.
It was certainly in the area around the town centre (within 10 minutes walk), where commuters were looking to park free and no doubt the local residents v commuters for available parking was a factor that helped the Councillors agree the restrictions thinking about their next term in office and additional revenue from fines
But as Dan says, it is a drivers fault if an accident happens although if the police were involved potentially they might at least take some action against the inconsiderate parker, if only a warning.