The Office of the United Nations High Commissioner for Human Rights urged Spain to observe the rights of Catalans amid reports on detentions and searches in numerous public agencies, including the local government ahead of the region’s independence referendum.