@Romain ***
it's a problem seeking to cross POIPET BORDER CROSSING for foreigners.
Use another border crossing in Cambodia to enter Thailand.
Suggest you use an experienced border run service company to take you to the Thai border, cross and reenter Thailand the same day and return to your home city.
They know what you need to do and they have prearranged your reentry into Thailand.