Although the play by Beaumarchais was at first not allowed to be performed in Vienna because it made fun of the aristocracy , the opera became one of Mozart 's most successful works . Although the play by Beaumarchais was at first banned in Vienna because of its satire of the aristocracy , considered dangerous in the decade before the French Revolution , the opera became one of Mozart 's most successful works .