What happens if you are charged with a criminal offence and are sent to court?