Here are two cases where rape defendants chose to plead guilty to a crimes they did not commit:
http://www.slate.com/articles/news_and_politics/readme/2002/...
http://ratiojuris.blogspot.com/2012/05/when-innocent-clients...
I presume that such cases are a minority, that those who plead guilty generally are. But I don't know what the actual odds are. What makes you certain? Or are you comfortable passing judgement regardless?