An invitation from a local official can not be a written guarantee of something beyond them?
It’s not even a guarantee of getting the relevant visa in time, that’s true for every big country I know of.