legal means
If the principal refuses to transfer for you, you have the right to complain to the Education Bureau, and you can even take legal measures to sue the principal for violating your right to education.
Complaints from higher authorities
If your right to education is violated, you can report this problem to the deputy mayor in charge of education or the local people's congress standing Committee, because it may involve unconstitutional behavior.
Guarantee the right to education
You have the right to defend your right to education. Don't let anyone deprive you of this right.