Tyhe requirement for a TM30 to be filed is enshrined within the Immigration act, the payment of a Bt500 fee for passport renewal is not. the two are not the same. pushing back against a request for tea money and against a requirement of the law as stipulated are not the same.
So when they ask you for a TM30 you will just tell them they are NOT within their rights to refuse your extension and everything will be fine. Good luck.