The law of supply and demand is like the Newton's laws of physics, it works.
Adam Smith was not aware of advertising. Suppliers can fabricate demand to manipulate the price. It's not a law, it's an assumption about human psychology and a wrong one.
In the case of Barcelona, supply is limited due to the geography of the area (sea/mountain) and the inner city is already extremely dense.