An alleged hijacker told the victim he had a gun, so he was taking either his car or his life, a court heard on Saturday.