I would immobilize the immobilizer ASAP. Rip that crap off the bike. It completely ruined your vacation, which in my opinion is a priceless loss. Will KTM reimburse you for your valuable time off the bike due to a 10 cent part that never should have been on a dirt bike in the first place? Highly unlikely.
Beyond fuel injection, a bike that goes off road should be plain and simple, even anti-lock brakes should be trashed.
IMHO as always