According to this article, the European Court of Human Rights ruled that Romania and Lithuania allowed the detention and abuse of a Saudi and a Palestinian at secret U.S. prisons:
The court concluded that Nashiri was blindfolded, hooded, shackled, kept in solitary confinement, and subjected to loud noise and bright light during his detention at the CIA prison in Romania.
The court also said that Lithuania hosted a secret CIA detention facility from February 2005 to March 2006 where Abu Zubaydah, a Palestinian suspected of being a planner for the Sept. 11 attacks, was detained.
According to Wikipedia both states were aspiring to join EU in 2005-2006 (applications issued in 1995) and it is known that fight against torture and ill-treatment is a long-standing and important value of European Union.
So, there seem to be a contradiction between desire to join EU and accepting helping CIA.
Question: What is the rationale for hosting CIA secret jails by Romania and Lithuania?