Judicial police officers and deputy judicial police officers have jurisdiction within the territorial limits where they carry out their usual duties as well as within those where the judicial police officer in charge of the national police service or gendarmerie unit to which they have been nominally made temporarily available carries out his duties. Where they are assisting a judicial police officer, they have jurisdiction within the territorial limits where the latter exercises his powers pursuant to the provisions of article 18.