Cloth Viewport question

So I'm working on my submission for the Cubic Worlds challenge and I was wondering, with the cloth modifier, when it clips into an object that has the collision modifier on it, will the bake make it work as intended (with it not clipping through the object) or will it clip through the bake as shown in the viewport?