The board, when so appealed to and after a hearing, may vary the application of any provision of this Code to any particular case when, in its opinion, the enforcement thereof would do manifest injustice, and would be contrary to the spirit and purpose of this Code or public interest, or when, in its opinion the interpretation of the building official should be modified or reversed.