Claim that new Scottish law will jail people for misgendering is False

A video claiming Scots could face seven years in jail if they misgender someone has gone viral, even being shared by tech billionaire and X owner Elon Musk.