The guy is lucky it was only ten days. Usually they'll let you rot in jail for at least two weeks before another hearing to give you a chance to get a lawyer and have him review the case, assuming you can't make bond.
The system is designed to force you to cop a plea, even if you are innocent, simply because it's easier for the "justice" system that way.
If this does turn out to be a case of gross judicial abuse/misconduct/incompetence, I hope the guy makes a million from a lawsuit. But I'm not taking the screed of a cop-hating website as firm, unbiased fact.