Look for positions opening for foreigners, especifically calling for foreigners. You should not occupy a position set for a local, for the reason you have already stated. You simply cannot settle for less, if you want to stay here long term, you have to stay legally.
Lo urgente no deja tiempo para lo importante. Mafalda.
“Take it from an old guy. The waves never stop coming, and somehow you don’t really want them to. But you learn that you’ll survive them. And other waves will come. And you’ll survive them too. If you’re lucky, you’ll have lots of scars from lots of loves. And lots of shipwrecks.”