Anneliese Dodds warned that the move would affect the UK’s support for Gaza, Sudan and Ukraine.