My understanding is that there was no hard evidence and the witness did not wish to testify, so this was a plea deal to make him confess and give the victim closure. Still feels wrong given that he did confess, but if the alternative was no probation I guess this is better than nothing.