Poland says it will pay 230,000 euros ($262,000) in compensation to two terror suspects held at a CIA secret prison that Poland agreed to host from 2002-2003.

Foreign Minister Grzegorz Schetyna made the statement Wednesday after the European Court of Human Rights rejected Poland's appeal of its earlier ruling.

The court ruled in July that Poland violated the rights of two terror suspects — Abd al-Rahim al-Nashiri and Abu Zubaydah — by allowing the CIA to imprison them and by failing to stop the "torture and inhuman or degrading treatment" of the inmates. The two suspects sued Poland and the court ordered Poland to pay compensation.

Schetyna said Poland will abide by the ruling because "we are a law-abiding country," but questioned how the money would be used.