Unable to answer "What kind of building entrance is this?" – https://osm.org/node/7815959282 via StreetComplete 58.2:

Not an entrance, steps go up on top of ramparts

Attached photo(s):
https://westnordost.de/p/224544.jpg