OK I just tried this. The game actually prevents you from naming a Pokemon with just "***", "con" etc. But it doesn't stop you naming them something with that in, e.g. Cofagrigus. On the actual GTS, all of the names I tried were perfectly fine for GTS trade (conker, marshtomp, froslass).