If the vendor really, really wants to update the firmware, have the write-enable switch be a physical one, not a software switch.
When firmware can't fully trust itself (and it cant), the correct option is to deffer ultimate judgement and control to the physical owner.
If the vendor really, really wants to update the firmware, have the write-enable switch be a physical one, not a software switch.