System > Order Statuses allows one to create order statuses and link them to order states. What's the meaning of this link in terms of data validity? Should it be considered invalid to assign to an order
<state, status> that is not in
System > Order Statuses? Does Magento itself expect those pairs to match and does it somehow makes sure to validate the data? From what I see in
Mage_Sales_Model_Order::_setState() there's no validation on
<state, status> but maybe it's done somewhere up in the call chain?