Loading an instrument via script

Short answer: you can’t.

You can load samples and plugins, but not an entire instrument (xrni).

A big +1 from (as well as saving instruments, which is what I have personally needed)

This is just one of those things that should obviouslybe in the API.

You can add it to the API wishlist, a topic which is monitored by the Renoise-devs.