Afgham President Hamid Karzai has accused US forces of continuing to capture and hold Afghans in violation of an agreement between the two countries.
Mr Karzai alleged that some detainees are still being held by US forces even though Afghan judges have ruled that they be released.
More than 70 detainees continue to be illegally held by the US.
The two countries signed a detainee transfer pact in March but the handover has been impeded by the US, which has argued both that the Afghans are not ready to take over and the government must agree to hold without trial detainees the US deems too dangerous to release.
"This is completely against the agreement," said a Karzai spokesman.
"There is no administration detention in our laws, yet the US is insisting that there are people who, while there is not enough evidence against them, are a threat to US national security."