During the Republic, any person who wished to hold public office had to conform to the Reformed Church and take an oath to this effect. What did any person who wanted to hold public office need to conform to during the Republic?