If you set your spawn in the Overworld, then go to the nether, you are blocked from using the magic mirror, as intended. However, if you set your spawn in the Nether using a respawn anchor, you can respawn at the respawn anchor not just if you are in the nether, but if you are in the Overworld as well.
Additionally, the relic does not care if your bed or respawn anchor was destroyed or if your respawn anchor is out of charges, and while this may be intended, doesn't consume charges either.