I think that‘s pretty cool, actually! Having a national hero of sarcasm, very unique indeed.

The problem is just when you’re a sarcastic person and can‘t restrain yourself from using it even in the worst possible situations. Does your national hero have this problem, too?
Briefly, this novel takes place shortly before and during World War I. The main character Josef Švejk is a man of doubtful reputation, who was once sacked from the austrian-hungarian army due to stupidity. Now, when war is closing, he meets all the absurdity of the regime and the war later, while he survives everything just through his rampant enthusiasm, no one can decide whether he is merely an imbecile or is in fact smart and all that is intentional sarcam which helps him to win over the situation always. Throughout the book he is - arrested for dehonesting his majesty the emperor, sent to lunatic asylum, cured for alleged pretending illness to avoid military service, becomes minion of military chaplain and then this chaplain stakes him in game of cards and looses him to 1st lieutenant Lukáš (the most normal character in the book) and Švejk becomes his ordonnace. Then they both go to war and Švejk is again - suspected of being a russian spy, then released, nearly hanged etc. But as I've said, he always wins the situation, when through his alleged stupidity is pointed how all the situation, most notably war itself, is stupid.
Just the beginning, Švejk is at home, than his charwoman enters and tells him "They assasinated Ferdinand" (meaning Franz Ferdinand of Austria). And Švejk replies: "Which one? I know two of them" (then he starts describing some two local men of that name, while the woman tries to explain she meant heir of the austro-hungarian throne). The author wrote this book from his own experience with the serving in austro-hungarian army during WWI.
To be honest, the humour in this book is very specific, czech-like (with many jokes related to our mentality, history etc.), so I sometimes wonder why exacly this book is probably the most famous czech novel abroad (e. g. Joseph Heller said he wrote his Catch-22 under the strong influence of The Good Soldier Švejk).
So, to reply your question, it can be answered "yes, even in such situations" (like staying before court-martial etc.)
