Sony also knows which accounts are activated on which consoles (mind that each console has its own unique IDPS) and probably also which account had ever logged in on which console.
So, a more proper check would be: Account trying to sync trophy from a digital game -> Check IDPS of the PS3 the...