This is an exchange transaction, because each party sacrifices value and receives value in return.
It is considered an exchange transaction.
It was simple a backdoor to the castle and not daunting to the enemy.