What happened with Castillo was this:
-There was a loophole in the previous CBA that allowed the Red Sox to remove Castillo from the 40 man roster and thus not have his salary count for tax purposes.
-In the new CBA the loophole was closed, so that if the Sox added him to the roster Castillo's salary would count for tax purposes until the end of his contract.