As far as I can see trials of this type are notorious for producing miscarriages of justice.
Trials are for winning, not for justice.
It seems to me the trial was won based on a “gotcha”. The Guildford Four and Birmingham Six were done on gotchas. Numerous women have been done in trials like this on gotchas.