It is not known what the goats' punishment might have been
A minister in the Democratic Republic of Congo has ordered a Kinshasa jail to release a dozen goats, which he said were being held there illegally.
Deputy Justice Minister Claude Nyamugabo said he found the goats just in time during a routine jail visit.
The beasts were due to appear in court, charged with being sold illegally by the roadside.
The minister said many police had serious gaps in their knowledge and they would be sent for retraining.
Mr Nyamugabo was conducting a routine visit to the prison when, he said, he was astonished to discover not only humans, but a herd of goats crammed into a prison cell in the capital.
He has blamed the police for the incident.
It is not clear what will happen to the owners of the goats, who have also been imprisoned.
BBC Africa analyst Mary Harper says that given the grim state of prisons in Congo, the goats will doubtless be relieved about being spared a trial.
There was no word on what their punishment would have been, had they been found guilty.