I tried to follow the example on how to create quote and order from the following URL: http://webkul.com/blog/create-quote-and-order-programmatically-in-magento2/.
I notice that from line 50 to 58 of the code, it will create a customer entity and save it. However, is that really necessary to do it if the customer is a guest that would not have a login credential?
Also what would it mean if a customer pay as a guest but already have login account with the same email? Would the order be linked?
Thank you,