"where an accused at a summary trial pleads not guilty to the offence charged the presiding judge regional magistrate or magistrate as the case may be may ask him whether he wishes to make a statement indicating the basis of his defence"