The review comes after the Scottish Trades Union Congress branded the Supreme Court’s ruling that sex is defined by biology as “hugely problematic”.