Rejecting the mandate would leave thousands of residents in homes too short-staffed to provide proper care.