China has defended a reported ban on Australian coal as both legal and good for Chinese consumers and companies, accusing Australia of playing the victim.