59(1)Where a person has been taken into custody or summoned and charged with an offence, he may obtain, before any appearance to the charge, the assistance of duty counsel who shall advise him of his rights and take such steps as the circumstances require to protect his rights, including representing him on an application for remand or adjournment or for bail or on the entering of a plea of guilty and making representations with respect to sentence where a plea of guilty or a conviction is entered.