It is, however, desirable to respect the religious beliefs and cultural precepts of the group to which prisoners belong, whenever local conditions so require. The responsibility of prisons for the custody of prisoners and for the protection of society against crime shall be discharged in keeping with a State's other social objectives and its fundamental responsibilities for promoting the well-being and development of all members of society.