This is another case of action by foreign governments having the opposite effect of that intended. The intent here, by the UK, is to object to the National Security Law and it’s effect on “One Country Two Systems” (OC2S).
The US did the same in 2020 when Congress removed Hong Kong from international bodies.
Both these actions only harm OC2S. The Road to hell is paved with good intentions.