The reason this trick works is that profiles are universal and can be installed on any device. When it comes to checking for updates using the profile in this case it will determine that there are no tvOS updates for your iPhone/iPad and not download them, hence blocking any further iOS updates.