The University of Florida is prohibiting three professors from providing expert testimony in a lawsuit challenging a new law that critics claim restricts voting rights, saying it goes against the school’s interest by conflicting with the administration of Florida Gov. Ron DeSantis.

Though the decision is being criticized as a threat to academic freedom and free speech, the university said in a statement Saturday that allowing professors Dan Smith, Michael McDonald and Sharon Austin to serve as paid experts for plaintiffs challenging the law would be “adverse to the university’s interests as a state of Florida institution.”