Installed a lot of these back to wall /wall hung frames in my time, mostly Geberit.
They do a straight adapter which might get you out of trouble i have had instances were even that still doesn't give you the room to get back to the stack when really stuck i have discarded the black elbow and...