He keeps playing so he fits in. It's not like Spain has any better options upfront to replace Costa quickly.
And what does being Brazilian has anything to do with this?! Thiago Motta and Pepe are Brazlians too. Shiould they stop playing for Italia and Portugal?