How an Italian classic in the Trimishenev style found its place in the most exquisite palace in North Africa.