FTP, name this novel by Jaroslav Hasek.
One character in this work gets another character in trouble when he presents a stolen dog as a gift and works as an altar boy for an alcoholic priest.  The protagonist is thrown off of a train after he pulls the emergency brake and cannot pay the fine and enrages a doctor by showing up to a medical examination in a wheelchair and crutches.  In addition to serving the aforementioned Otto Katz, the protagonist triumphs when he discovers his harsh superior drunk in a brothel, Lieutenant Dub.  Before serving under Lieutenant Lukas, the protagonist is arrested and eventually sent to a mental asylum for asserting that Germans and Turks stick together and claiming that Serbia and Russia will help Austria in the war.  FTP, name this novel by Jaroslav Hasek.
One character in this work gets another character in trouble when he presents a stolen dog as a gift and works as an altar boy for an alcoholic priest.  
The Good Soldier Svejk or The Good Soldier Schweik or Osudy dobreho vojaka Svejka za svetove valky 