Thanks, that's useful. Yes, it is in the UK. Problem with the thesis were due to lack of supervision, or rather, too enthusiastic one, letting my friend submit without any warning. I expect it would depend on the 'host' university, but I'm confirmed in my thought that there is a grey area around this.
If anyone has heard of something similar please let me know.
Cheers