Yeah such a bigoted country where the choice of punishment was prison time or chemical castration, unlike Germany at the time where being gay meant... (checks notes) being sent to a concentration camp, worked brutally literally to the bone, and then gassed to death.
Let's also not forget other bigoted countries at the time like, to pick a purely random example, Canada. Homosexuality still criminalised until 1969 (2 years after the UK decriminalised it) where the punishment was 10 years to life in prison.
Strange; similar prison terms for the UK at the time. I wonder if there's some reason why Canada and the UK had almost identical laws until 1931.
Anyway, this still doesn't justify the mistreatment of Alan Turing or any other member of the LGBTQ+ community at the time, after decriminalisation (see the whole story of Stonewall and places like Canal Street), or even now with the bullshit bathroom laws.
The best thing we all can do is learn from history and fight tooth and nail for the future. Because as Regan, Maggie, and Trump have shown us, some fuckers want to drag us backwards, and I for one, am not going to let them.