Hello,
I'm guessing that https://www.openstreetmap.org/way/1202778842 is the courtyard?  If so, it shouldn't have a "building=yes" tag on it, and the tags on the relation https://www.openstreetmap.org/relation/16250401 will be used.
Cheers,
Andy
