True. But foreign students have always been a huge amount of UK university funding. Basically from as far back as the 1800s.
Limiting them is not the solution. Nor is it the cause of diploma mills. Reduction in government funded research grants is what forced uni to move to tick box education. And government desire to avoid administration costs is what leads to Unis without the strong educational ethics taking advantage of it.