Court orders Montana resort founder freed from jail