John Swinney has stood by the Scottish Government’s gender recognition reforms despite Anas Sarwar having a change of heart.