They are the ones from the events. I tried to trade them over GTS negotiations and all it says these pokemon cant be selected.
Event Pokemon with those special Ribbons (which is basically every Event Pokemon), cannot be traded over GTS.
Source: I have tried many times and i have read it on Bulbapedia.
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.