Ring fencing is always pointless in the long run because the government isn’t stupid. For things they actually want to spend money on they’ll find a way. If there’s political will to spend money on something it’ll be funded, ring fencing or no.
In the short run ring fencing can provide a temporary boost in spending but in the long run all sources of funding are fungible.