A debt-laden council has stepped in to buy a city centre hotel beset by construction delays, but how did it get to this stage?