Hi Maxime, welcome to the forum.
You’re pretty close. You can use unsafe_backend instead, which essentially is your last option in a nice function call.
Here is the part of the documentation to read
https://jump.dev/JuMP.jl/stable/manual/models/#Unsafe-backend