I was in town very briefly and got charged with Forbidden Practices, but I did not get arrested.
I did not have any spells up nor commit any acts at all while in town besides moving between rooms. Can you be randomly detected by NPCs? I thought you had to be accused by a PC? I don't believe any PCs accused me, but I don't have a way of knowing that for certain.