The Republic would never do that.
I agree, as I’ve already said, that’s it’s improbable in the extreme. Not, however, impossible: Cyprus and Malta, after all, find no problem, apparently, with membership both of the EU and the Commonwealth. Both are republics.