Who holds the right only decides which way the money flows
Suppose the mortars earn the confectioner an extra 900 yuan a month, and the noise costs the doctor 500 yuan a month. If the right goes to the doctor, the most the confectioner will pay is 900 yuan, and the least the doctor will accept is 500. They settle at 700: the confectioner is still 200 ahead, and the doctor, after his loss, also comes out 200 ahead. If the right goes to the confectioner, the most the doctor will pay him to stop is 500 yuan, and the least the confectioner will take is 900. There's no deal, and the mortars keep pounding. Under either ruling the mortars keep pounding; all that changes is whether the doctor gets 700 yuan or nothing at all.
The side that values it more gets its way
Raise the doctor's loss from 500 yuan to 1,200. If the right goes to the doctor, the most the confectioner can pay is 900 and the doctor wants 1,200, so there's no deal and the mortars stop. If the right goes to the confectioner, the most the doctor will pay is 1,200 and the confectioner wants more than 900; at 1,000 he agrees to stop, so the mortars stop this way too.
Once bargaining costs money, the outcome starts to follow the right
Say finding lawyers, writing an agreement and making sure it's carried out cost 300 yuan in all. Still with the doctor's loss at 500 and the right going to the doctor, a deal creates 900−500=400 yuan extra. Take away the 300 and 100 is left, so a deal still happens. If bargaining costs rise to 500 yuan, the extra 400 is eaten up entirely: when the right goes to the doctor, the mortars stop; when it goes to the confectioner, they keep pounding.
The reasoning fits best in disputes where there are few parties, they can find each other, and the losses can be put at a price: noise between neighbors, say, or two companies fighting over one plot of land. With many people, just getting everyone together costs money, and if they can't all be brought together, the bargaining stops. Concluding from this that it doesn't matter how property rights are assigned is reading it backward: who holds the right still decides who gets paid and who pays.