UN chief condemns 'get out of jail free card' on wars