Real world - They're going to use a member of the main cast over some no name. As mentioned above.
In universe - Kirk knew Chekov better than any one currently on staff in engineering and wanted someone he actually knew in Engineering during a critical mission. There's no evidence the assignment would've been permanent if Scotty hadn't come back.
Both true, but especially the bolded text. Standard filmmaking 101.