This from the Education Hub blog on the Gov.UK website [bold is my emphasis]:
"The Government’s Higher Education (Freedom of Speech) Bill became law 11 May 2023 in a huge step forward in protecting freedom of speech and academic freedom on university campuses."
...
"The Act will require universities, colleges and students’ unions in England to take steps to ensure lawful freedom of speech on campus. This doesn’t include unlawful speech, such as harassing others or inciting violence or terrorism."
"It is for universities, colleges and students’ unions to consider whether the speech is lawful, by taking into account criminal law such as the Public Order Act 1986 and legislation such as the Equality Act 2010. They will also set out and publish a code of practice for freedom of speech on campus."
https://educationhub.blog.gov.uk/2023/05/30/freedom-of-speech-act-how-it-will-affect-university-students/