As long as your card has a mark that is obviously different from other answer sheets.
But don't worry too much. There's always a reason for the exam. Explain this situation to the invigilator, or complain to the school afterwards, and the teacher will understand.