I wasn't paying enough attention to detail here.
Table2's int column was just an int and nothing else.
Time to go to bed for me.
Thank you for the question.
I still see documentation around that never mentions unique constraints only PKs that can be used in a FK reference, even though we know that both can be used.
Andre Guerreiro Neto