It wouldn't be censorship... censorship is when you would normally have the right to say something (for example printing "it's good to be white" on your owned newspaper) and someone else violently prevents you from doing that (for example the government threatening you with jail time).
When you reject a transaction from your own node, it is called discrimination, and it's very healthy. Like discriminating ugly women from being your girlfriend, or communists from being your friends.