True, but this is "we put a big padlock picture so everyone thought it was secure" levels of security. That is just deceptive.
So really, this type of encryption is defeating scanning/probing, not a dedicated attacker who knows where to look and why. In such cases the attacker is worried about gaining access to the walled garden first — where the protections are.