I would do it the opposite way. The relation should be the pedestrian area, because that’s the one that needs the holes cut out of it. Then, the outer way can be the place=square, which would cover everything inside that way (including the holes, because the way doesn’t have anything cut out of it).