If by your first sentence, you mean the one that says "...that the prisoner was kept in prison..." it would not be used in the US. It should be "...that the prisoner BE kept in prison..."
I'm sorry, but I don't understand your question.
I recommend that [person] [bare infinitive] - not past, but bare infinitive.
[a writer, not a teacher]