trademark infringement as stipulated in article 52 of the trademark law includes the act of changing the registered trademark of a trademark registrant and putting the goods with the changed trademark on the market again without the consent of the trademark registrant.
according to the above regulations, the behavior you mentioned is still infringement, which is what is customarily called trademark reverse counterfeiting.