Yes, unfortunately that is how they respond when others use and abuse the system.
About five years ago there was a crackdown on the marriage to Thai visa because Thai women were married to foreigners without their knowledge. Someone had gained access to the civil registry.