No I don't think this is racist - it is sensible advice to keep people safe.
I am appalled at the notion of some gung-ho sailors who set up a convoy to sail through this area, and then had a party with commemorative certificates when they reached the other side.
Such foolhardy machismo flies in the face of sound advice from guiardians of the waterways, who can and are required to put their own lives at risk to save these foolish 'adventurers' who seem think this is something akin to paintballing at sea.
Piracy is real - these men are killers, and i reckon the 'novelty' of such an exercise would rub off fairly quickly if all who require rescue in the event of piracy, and found to be indulging in this ridiculous 'party' - are fined and have their craft confiscated.