The idea for the movie came to the scriptwriter
Zdeněk Svěrák in the early 1970s, when Svěrák slipped out of the Prague theater Malostranská Beseda, during the intermission of an opening night performance, to eat a quick dinner at U Schnellů, the pub next door. As soon as he entered the pub, he saw a forest of raised hands—impatient diners who wanted to pay and mistook him, because of his dark suit and bowtie, for one of the pub's waiters. Svěrák first offered the script to
Jiří Menzel, who passed because he thought the material was too thin for a feature-length film. Svěrák hoped the actor Petr Nárožný would play the Vrána character, but Smoljak worried that Nárožný had become typecast by having played the "infuriated idiot" too many times recently, and cast
Josef Abrhám instead. Smoljak revised Svěrák's script extensively, dropping, for example, a scene where Vrána escapes from a seafood restaurant because a fishing net on the ceiling drops on his pursuers, and adding a scene in which Vrána flits from one restaurant booth to another, expertly dodging the restaurant's real waiters. Smoljak insisted on filming that scene, as well as a late one, set in Karlovy Vary's Grandhotel Pupp, in a single take, because, he said, "we wanted the viewer to be able to see for himself every move, to see that coordination, whether it clicks or not. In an edit that can't be seen." ==Cast==