The agreement includes more beds for years longer than what was originally promised and ends a months-long contempt of court ...