Dubai of all places? Isn’t that place just a rich person’s playground? Aren’t there women everywhere?
Turns out this greentext was 3 years before they made it legal for women to drive in 2018
Women in UAE have always been allowed to drive. It was made legal in 2018 in Saudi Arabia, which is a different country.
As a foreigner/tourist you have practically 0 chances of going to prison, unless you do something really stupid.
Source: Been to Dubai many times.