After a varied history as town hall , residence , stable , and church , it was saved from plans devised by Louis XIV 's minister Colbert to move it stone-by-stone to Versailles .
It only served as a town hall and was demolished few years after its construction .