To the prefecture belonged the management of the museums and of all establishments of a special kind existing in the palaces—provided they were not autonomous.
This passage describes a system where the prefecture held administrative control over museums and specific types of institutions located within palaces, but only if those institutions weren't self-governing.