The local authority is obliged to grant protection to the president of the territorial council, to the territorial councillor deputising for him or her or who has received a delegation or to one of these elected representatives who has ceased to hold office when he or she is the subject of criminal proceedings in connection with acts that do not have the character of misconduct detachable from the performance of his or her duties.