Moment From Time Bandits
The dwarves try to capture Evil by binding it but it is able to turn the tables on them by controlling the situation.
Young history buff Kevin can scarcely believe it when six dwarfs emerge from his closet one night. Former employees of the Supreme Being, they've purloined a map charting all of the holes in the fabric of time and are using it to steal treasures from different historical eras. Taking Kevin with them, they variously drop in on Napoleon, Robin Hood and King Agamemnon before the Supreme Being catches up with them.
Tags: dwarf, treasure, map, magic, robin hood, time travel, napoleon bonaparte, titanic, cage, pig, satire, steampunk, minotaur, independent film, tank, burglary, cult film, arm wrestling, ancient greece, giant, ogre, turned into animal