They were tried even though a judicial investigation had confirmed they were subjected to physical and psychological abuse , and lengthy periods in solitary confinement after being arrested in 2004 , the group said .