The guidelines apply to all autocratic countries, but China is likely to be the principal concern.

Scholarships funded by foreign governments and partnerships that mean academic staff have to pass ideological tests may breach rules, according to the Office for Students (OfS).

It has launched a consultation on its guidance, which will come into effect in August.

Universities say they take their commitments to freedom of speech and academic freedom “extremely seriously”.