Judge orders owner of problem apartment complex to pay for officers