Very Coasean. The agent who can most easily change the costs of a behavior internalizes it in a functioning market. Instead of neighbors being force to suffer the guitar playing, the effects are removed (via soundproofing) and the guitar player pays the premium.
They did limit the guitar owner's choices. If you read it carefully it's saying she has to live in a soundproofed apt.