The Mysterious Castle in the Carpathians (1981)
The Mysterious Castle in the Carpathians (, literally "The Mystery/Secret of the Castle in the Carpathians") is a 1981 Czechoslovak comedy film directed by Oldřich Lipský. It is based on Jules Verne's novel The Carpathian Castle (called Tajemný hrad v Karpatech in Czech translations).
More at Wikipedia.