Notwithstanding any other provision of law, the State Department of Health Care Services may directly, or by contract, with any public or private agency, provide any of the services under this division when the state determines that the services are necessary to protect the public health, safety, or welfare.