Proof of nationality regarding third-country nationals who apply for a residence permit