Jan Hartl and Jirí Krampol were considered for the part of Frantisek Koudelka, eventually played by Ludek Sobota.
The first film of actor Petr Nározný, at that time a cabaret comedian. He later remarked with some bitterness that when he spent two shooting days playing the hysterical rally racer Volejník, he had no idea that he would fall into the trap of typecast for the next few decades. He has subsequently portrayed similarly choleric characters in such films as Gentlemen, Boys (1976), How About a Plate of Spinach? (1977), Tomorrow I'll Wake Up and Scald Myself with Tea (1977) or many TV productions.
Screenwriters Zdenek Sverák and Ladislav Smoljak originally offered the director Oldrich Lipský a different script - a detective parody called 'The Seven Principles of Inspector Trachta', adapting their successful stage play 'Murder in a Saloon Coupé'. This refused script was later re-written and filmed as Rozpustený a vypustený (1985) under Smoljak's own direction.
The original script included two sequences of Frantisek Koudelka's dreams, which were not used in the film because they slowed down the plot.
Frantisek's bossy aunt was the last film role of Vera Ferbasová, the star of many Czech screwball comedies of the 1930s, who later fell out of favor with the communist regime and in her older age was usually given only episodic roles.