Notwithstanding any other provision of law, the director of a Department of Mental Health facility has the authority to transfer any patient/resident to another Department of Mental Health facility as necessary for the welfare of that or any other patients/residents.