Used as a hunting lodge by the seventh- and eighth-century Muslim Ummayad dynasty , from what little remains , including some excellent mosaics , it is obvious that it must have been palatial .
Scholars doubt whether the building was once used as a palace .