premise: It was to have served as a museum of natural history, but after some eventful delays (Napoleon's invasion badly damaged the building), its mission was diverted to art, and the royal museum of painting was inaugurated in 1819.
hypothesis: It was to have served as a museum of art, but after some eventful delays it became a natural history museum.