It has been used over the centuries as a courthouse , a school , and a village shop , and now houses a small museum .
It remained empty and unused for hundreds of years before being turned into a museum .