then told me that i was going to appear before the local magistrate and that the lawyer was pressing for bail , some arrangement where a sum of money would be paid to the court and would be safe so long as i behaved myself .