I think the obvious answer to your question is that yes, he did know what he signed, because he was in receipt of a 10-page briefing document containing explicit warnings.
I suspect BoJo’s attitude towards that was, at the time, most likely summed up by “we’ll cross that bridge when we get to it”. Now we’ve got to it, we see how they plan to cross it.