is this even checked afterwards?
As said, terraces are a controversial topic, which is due to the history of their significance in building law. In the past, they were insignificant ancillary structures in planning and building law, unnoticed by anyone. Then the Building Use Ordinance 1990 introduced the issue of soil sealing, and the terrace gained planning law significance, initially only related to the floor area ratio. Then, through court rulings, it moved from floor area ratio II to floor area ratio I, because someone had the idea that it belongs to the main structure. And with that, it suddenly also had to lie within the buildable area, which even city planners did not consider when drawing up development plans. In building regulations, it is still insignificant, e.g. Building Regulations NRW 2018,
§62 15. e) other insignificant installations or insignificant parts of installations such as entrance canopies, awnings, roller shutters, terraces, ... And so it happens that everyone sees the terrace differently. Legally, it must be within the building boundary if there is no explicitly different regulation in the development plan. So anyone who ends up with a strict building inspector risks having to dismantle it. However, I am not aware of any such case from practice.