(87)Written arrangements should confer on competent authorities the right to carry out on-site inspections, including where they request the third-country supervisory authority of the undertaking, to which functions were delegated, to carry out on-site inspections and where they request permission from the third-country supervisory authority to carry out the inspection themselves, or to accompany staff of the third-country supervisory authority in order to assist them in carrying out on-site inspections.