Court hears Dublin flats to be evacuated over fire concerns