Batman always has his own code.
Letting her go at the end didn't seem that big of a shock.
Batman's sense of justice, doesn't always align with that of the police.
After all, Batman is a vigilante.
I think with his sense of justice and guilt over Alberto's death he'd feel almost compelled to at least do something.