What's this? Oh, a 3" "inside" slip-in closet flange (fail #1), set below finished floor (fail #2).
Doubled up wax rings with built-in cone that doesn't fit inside undersized slip-in closet flange (fail #3).
Start hacking everything out...
Attempt to salvage elbow (and basement ceiling drywall) with a $100 socket saver pipe reamer. Get about 75% of the way done just to have it bite hard, kick back, and split the elbow (fail #4).
Cut out the drywall anyways and redo the whole elbow, shim a new closet flange to proper height, reset toilet with one wax ring...drywall repair later.