Department attacks ‘activist lawyers’ after attempts to take 23 asylum seekers to Spain are ‘frustrated’