Council officers have stepped in over the condition of a historic hotel after urgent safety concerns were identified.