The assignment and appointment by the Minister of Justice of the staff mentioned in the second paragraph of article L. 6141-5 to national public health establishments exclusively intended to receive prisoners or persons placed in secure detention shall be carried out under the conditions laid down by the Code of Criminal Procedure, each of these establishments being considered as a prison or as a socio-medico-judicial security centre.