The frontend (in that case xbps-bin(8)) is only responsible to remove those packages that have the "trans-action" string object set to "remove".