How to create an order programmatically with \Magento\Quote\Api\CartManagementInterface::placeOrder()?

A post was split to a new topic: How to instantiate the PaymentInterface?