If you've been asked to write to the judge, use our sample character reference letter and fill-in-the-blank template. What's a character reference letter?Download the Sample. Everything you need to write a declaration letter to the judge in your custody case: an example, a downloadable template, an outline and tips. The character reference letter for court serves the purpose of offering the Judge insights into the Defendant's moral or mental attributes. Tell the court about the child or children who need a guardian. Writing a character letter for a judge can be a daunting task. Here are nine essential tips for writing an effective sentencing letter. Respondent will have to fill out a proof of service. Of a restraining order applicant, and any child or children in the applicant's custody.