The warning comes after police broke up a 200-strong gathering at a hall of residence.