This isn't a new or strange rule, Yellow cards count in all official FIFA tournaments, Euro, Copa America, Asian Cup, African Nations, WC games and qualifiers and our own version the Gold Cup. Making up a tournament will do nothing, since as far as FIFA is concerned, it's a friendly (e.g. the Unity Cup).