A court battle between the Scottish and UK governments over controversial legislation has begun. www.bbc.co.uk