Yes, except in this case firemen actually were on the spot. Imagine this situation:
You are getting mugged on the street. There's a policeman nearby and sees it happening. He judges with his expert's eye that your life is not in danger. He has ultra modern mobile phone and approaches you with a question: "Excuse me, sir/ma'am, what is your name? I must check if you paid your taxes, you know."
*types in his phone, connects to server, checks database...*
"Sorry, can't help you. Says here you owe 1200$ in taxes. Unless..." turns to mugger. "Your name and social security number, sir. I must check if you paid your taxes."
*types in his phone, connects to server, checks database...*
"It says here you are due tax return of 45$, sir. Please carry on whatever you are doing." says policeman, then goes away.
That's similar to moral choice firemen had in OP... As I wrote before, they are firemen. It's their job to protect both lives and property.