Except in open vessels, it must be located outside the engine room and must, in all cases, be so arranged as to ensure in the event of fire or other failure of the main electrical installation, simultaneous functioning for at least three hours of: ... the navigation lights and emergency lighting ...