I assume it's more complex that that, but I can't see how a driverless car can reliable distinguish between being pulled over and an emergency vehicle is trying to get past on a narrow road.
Sure, I know that, but does a driverless car? All it can see is blue lights right behind it, which could mean "stop right now or we'll shoot you" or "get a move on to the next passing point you can find" depending on context (probably conveyed by the gesticulating of the driver and maybe a loudspeaker).
Part of being pulled over is not blocking traffic while stopped, so if there’s literally no shoulder/dirt to pull over onto then obviously you continue until there is.