Chiang Mai needed to pay for a new building so they got pedantic about obscure immigration rules to get the necessary cash to build. TM.30 was their most lucrative option.
Chiang Mai is easy. About 2 weeks. Immigration is easy. 2 forms, one copy of the whole of the old passport and face page of the new. Probably an hour at immigration.