The mistake is assuming Bitcoin on a sidechain has the same security guarantees as native Bitcoin, not the act of using a sidechain