> ‘an historical occasion’ - this is wrong
There is nothing wrong with the use of ‘an’ before ‘history’ and the forms of that lemma. It is unusual, and perhaps pretentious or otherwise silly, but only in the same way as ‘connexion’ is an unusual (&c) but perfectly correct spelling.