If the bolts are rusty, wipe them with kerosene to make it easier to unscrew; Carefully remove the toilet fasteners. Most likely, these will be anchors or dowels; Disconnect the drain from the sewer pipe. In Soviet-built houses, the drain is cemented. https://www.zupyak.com/p/4583266/t/how-to-choose-a-toilet