Sorry if I misread…it takes a lot more than a dog barking for noise disputes to end up in court if it’s not a civil case. OP would be better to put that money towards sound-proofing his flat, and maybe offering to pay to sound-proof his neighbours flat.