Criminal charges

Help!  My son was badly bullied a few years ago away at university and has been suffering from depression and anxiety.  He has also been diagnosed with Borderline Personality disorder.  We live in the North of Scotland and have found it difficult to get him help and his mental health has deteriated.  A few weeks he got into a black hole and had  a meltdown, he had a knife and we feared for his life so called 999.  The police came and son lost all reason and ended up being pepper sprayed, spent the night in the cells and is now facing three charges and court appearances.  A week after he was also diagnosed with Autism.  As you can imagine his mood is even lower after this.  We need help to explain that it was his mental health conditions that caused the meltdown.  Is there any advice out there that can help a struggling family.