When defense attorney Michael Perehinec’s 16-year-old client was arrested in New York’s Tompkins County last spring, the judge at his arraignment decided to place him in state custody. The client faced violent felony charges, making it difficult, Perehinec said, to argue that he should be immediately released and supervised within the community before a trial.