The penalties in the preceding articles shall be imposed in their upper half, in the respective cases, if the illegal detention or kidnapping has been carried out with simulation of authority or public function, or the victim is a minor or a person with a disability in need of special protection or a public official in the exercise of his functions.