If you divest the landlord of that security deposit and make him pay interest, how do you suppose that's going to make the landlord feel toward you? Is that important to you?
It might be. It always goes to show that laws like this can be used as a shield; but use them as a sword (or a club to beat someone over the head) at your own peril.