This is called a retroactive conformance and you can read the nuances here:
And yes, the airtight solution is to wrap it in another type like you have both demonstrated.