The painting of the Queen Bozena is actually "Madame de Saint-Maurice" by Joseph Duplessis, who painted it in 1776.
The original Czech title of the film (literally "If There Were Fish") is an allusion to an expressive Czech saying: "If the fish were in the arse, there wouldn't be any ponds." The broader meaning is that "if" does not matter.
When the magic wand is waved, sounds familiar from the Windows operating system are used.