The royal castle during the reign of Maria Theresa (1777)