It's been 06 years, so I forget. I used to do my RV parts shopping at Mobile Trailer in Anchorage and bring the parts back to FL. They had more stuff, better pricing and FAR more knowledge than other places I could find. I bought the flange they suggested, I want to say it was female threaded. Said it was the most common one. I really don't think it was male threaded, and in know it wasn't glued because it simply screwed on. Previous owner had a connection leak to the toilet, not the flush valve. OSB was rotted, and somebody'd cracked the Flange trying to tighten it and get rid of the wobble.
My Toiled Floor Project made it to the WEB at RotDoctor.
Some RV and Mobile Home toilet flanges are glued but threaded seems very common. I'm thinking that if OP can turn it, he can unscrew it. Then see if a different flange will seat farther down. Maybe clean the threads and it'll go a little farther. Maybe trim the flange or whatever it screws to.
Notice my repair included a "Pedestal." That really helped, since it spreads the toilet operator's weight over a larger and different area than where the OSB has failed. Weight on the Flange and Tank is not a good thing.