§ 3. Acting governor. Every provision of law relating to the governor shall extend to the lieutenant-governor, to the president of the senate, and to the speaker of the assembly respectively, while acting as governor in pursuance of law.