I've never seen this before, where a 4" soil pipe must have been factory made.
This was fitted into a 1960/70s council house.
Sorry the photos are poor, too many cobwebs etc.
Vertical pipe on left with 4" emerging to right
Shows another 2" pipe emerging and heading off in the same direction as other horiz 4" pipe.