The opera was first performed by the Nationalsingspiel ( `` national Singspiel '' ) which was sponsored by the Austrian emperor Joseph II . The company that first sponsored the opera was the Nationalsingspiel ( `` national Singspiel '' ) , a pet project ( 1778 â `` 1783 ) of the Austrian emperor Joseph II .