Provided that their names have been supplied to the clerk of the body the proceedings of which they desire to attend and that the newspaper or news agency or other organisation has given an undertaking that they and their servants or agents will observe the code of good practice.