Some toilet flanges are glued in. There is often a cylinder of pipe with the flange sleeve glued inside. But you can easily remove that using a hacksaw or reciprocating.