It would be super difficult to remove any violating notes as you’d easily rebroadcast to other relays? You’d need coordination of some sort?
I think it makes more sense to subscribe to some sort of intermediary services that filters for you (for illegal content). Not sure what that looks like technically, just thinking out loud.