In the case I mentioned my friend was not ghosting or using a resident ID to get a tee time for a guest. He setup tee times for a foursome. It was always just one foursome. There were three guys that played all of the time and a few others that would play sometimes. All were residents.
Often he did not plan well enough so he was not sure who the fourth would be. When that happened he would put his wife's ID in the request as she never played, then substitute one of the other people after talking to them the next day.
If you understand the tee time system, what he was doing was not causing any harm, so he really did not consider it 'illegal'.
His innocent wife was read the riot act for his bending of the rules and she does not let him forget it.