My question is: it is permissible to refuse to move, and is paying rent in advance regarded as a contract which stipulates that one should not leave or move from the accommodation?.
If the accommodation system states that the administration has the right to move students from one accommodation to the other, and the second accommodation is known by having seen it or heard descriptions, and you signed the registration form, then you have to move, in accordance with the condition that you have agreed to, which is a valid condition, because it does not go against the aims of the contract.
The Prophet (peace and blessings of Allaah be upon him) said: “The Muslims are bound by their conditions.” Narrated by al-Tirmidhi (1352) and classed as saheeh by al-Albaani in Saheeh al-Tirmidhi.
In this case, you have the right to take back the difference between the two rents.
But if you did not agree to that, then they have no right to move students to another accommodation, except by mutual agreement, because rental agreements are a kind of binding contract in which neither party has the right to annul it or change it without the consent of the other party.
And Allaah knows best.