Before the fire it was the largest palace in Europe , with over 1,500 rooms ( at one time it was the largest building in the world ) . Before the fire it had grown to be the largest palace in Europe , with over 1,500 rooms , overtaking the Vatican and Versailles .