In what way is your investment in the family home at risk? Did the court order, apparently by consent, not provide for ownership/ share in equity of the home as well as providing for the right to remain?
Your position, your "investment" is and remains what it was at the time of the divorce, whether or not that was spelled out. Lapse of time, or your obviously predictable setting up home won't affect it. Only a substantial change in your ex's or children's needs could affect you.
The tax position ?. Bit hard to argue that your former matrimonial home is your principal residence when you're divorced and get a new one but I suspect the Revenue have some special rule about this situation, which must be common.