An Antrim man who hurled racist abuse during an anti-immigration protest narrowly avoided going to prison today.