Some times the student's home country will pay for their PhD tuition and expenses abroad, which means that from the university's perspective they're a paying student.
The catch is that the student then signs that they will return home for a period (e.g. two years) immediately after the PhD or be liable to pay the scholarship back.
[source: am an ex PhD student, have seen friends under this arrangement].