You cannot build railings or fences over doors and arches.
affects all worlds and all architectural styles.