> for example I can not even imagine any EU country doing something like Guantanamo
By the information that has publicly come out about the "black sites" operated by the US and its allies -- from which prisoners were later transferred to the not-secret facility at Guatanamo where at least a show of adhering to international humanitarian law was made, several EU countries were actively involved in the system, and the UK was not only involved but actually operated prisons in the system.
So, yeah, EU countries have, contemporarily with Guantanamo, done things as much like the worst aspects of the Guantanamo detention as is possible.