Ruling clarifies law on neighbourhoods