A travesty is a cheap mockery, usually of something or someone serious, such as a travesty of justice.
In literature, a travesty is a work that humorously and crudely imitates another work or style. But you can also use this word to describe anything that seems to mock, distort, or poorly imitate something else. A travesty of justice, for example, is a court case that makes a mockery of the judicial system — or so you might think, if the verdict isn't in your favor. Travesty comes from the French travesti, meaning "dressed in disguise."