puffin, are you in the US?

The United States has strictly enforced Civil Rights laws which prevent discrimination. Here is a link from the US Department of Education (USDoE), Office of Civil Rights (OCR): OCR Complaint Forms - Electronic and PDF versions, which states, in part, "Covered entities include all public and private programs that receive Federal funds from the U.S. Department of Education. These include all public schools and most public and private colleges, as well as some other entities, such as vocational rehabilitation agencies and libraries."

Because of the potential for federal lawsuit and loss of funding, it may be less likely that a student was not recommended/referred for an advanced class due to "accented English" or "obvious religion"... than for the student's grades dropping and other performance/achievement factors.

That said, I do agree with puffin's advice: "I would approach the teacher, point out your testing results and ask what you would need to do to prove readiness. Also check whether you can switch classes during the year."