Yeah, that's pretty much it. You spawn the unit on the map first with CreateUnit, and the call that function with the coordinates of the unit to move it into the garage. Sort of a weird system, but that's how the original levels do it.
I'm not sure if the unit has to be anywhere near the garage though. That might be an interesting experiment to post about. (Include sample code!)