The two friends sobbed and held hands in court and sobbed