In accordance with the provisions of Article 40 of this code and the article D. 214-27 of the Penitentiary Code, the public prosecutor is informed directly and without delay by the head of the establishment of the commission of a crime or offence in a penitentiary establishment.