From what I gathered is, if you move out of the airport that too beyond 12 hours definitely a transit visa is needed. When I travelled to Europe my layover in Abu Dhobhi was for more than 12 hours. They asked only for Schengen visa. I personally feel once more you must do a small check with airport and airlines authorities.