So it's a little more complicated. If the Y segment doesn't drop off the PNR when the upgrade is cleared, then in theory both seats could be valid and active.
That's rare (but I've seen it).
Normally, when your upgrade clear, the Y segment disappears. And if you're no longer confirmed in Y, you're not going to be able to board with a Y seat assignment.