Depends on what the specialist sees when the serial number is typed in if it was a replacement iPhone that was never turned back in after repair then no
If it was a legit replacement then there won’t be any issues. If it was reported stolen or was blocked then you wouldn’t have been able to use it anyway.
If it is a situation where the iPhone was repaired and the SN/IMEI wasn't registered correctly, then call Apple and get to a Senior Advisor and they'll be able to submit a ticket with the engineering team to resolve.