Why do you think you would fail once and pass the next time? It is not a written test for which you can practise.
You can go to another country to get the class 1 but you have to declare a failed test.
Not declaring what has gone before would be unwise. If it transpires later that you obtained a medical by deception you will be in trouble.