The First Minister has sided with farmers over their opposition to attempts to secure legal permission to reintroduce lynx to Scotland.