I faintly recall seeing a movie with one thousand and one nights motif. The twist of this movie is, there is a genie who is banished to 20th century London.
His lamp in old Arabia is connected to TV in his room, he uses it to travel back when he is recalled. Anything that gets through (including the genie) is only visible to the owner of the lamp. I think he brought motorcycle and hunting rifle or similar weapon.
Does anyone have an idea what is the name of that movie? Google didn't help.