i dont nearly have such a strong system like you, but in belgium for some reason the cops just dont care.
i was wanging it full blast on the street at night when i got pulled over by a cop. i thought oh shit im busted.
turns out it just was a routine traffic stop for alcohol tests.
also i had this officer pull up in front of me and i had my system turned up pretty loud, he was in front of me the whole time and didnt do anything.
anyway you did the right thing, friend or not, he deserves the ticket lol.