Go to the queries desk in the registration area. There is an admin fee of 50 EUR for a badge replacement.