William Makepeace Thackeray said this quote

If she did not wish to lead a virtuous life, at least she desired to enjoy a character for virtue, and we know that no lady in the genteel world can possess this desideratum, until she has put on a train and feathers and has been presented to her Sovereign at Court. From that august interview they come out stamped as honest women. The Lord Chamberlain gives them a certificate of virtue.