This problem does occansionally occur -- Partners using fare codes for a different class of service than UA does. Most of the fare classes are harmonized for most of the *A partners but when not you get this sort of mess. Believe this was happening with AC and their P economy fare ( at one time but that has been resolved.
Clearly a UA IT fail and UA needs to fully refund their error.