The surprising history of LGBTQ+ laws in Scotland