First of all I would like to describe what irony is, this techtique is employed by authors who what to expose and criticize corruption or any other topic (individual or social) by using exaggerations it is not to make people laugh but to warn people about something Swift used irony in those lines to show he incompetence of Ireland's politicians and how tyranny they could be.
The author Illustrates how the political system of Ireland works (only serving the Wealthy at the expense of the masses)