score:6
You're a Pakistani national and want to visit the UK for a couple of days. Since your visit will be really short, you don't know which type of visa to apply for (transit or visitor). I assume that your visit will be done via a round trip from the Schengen zone.
You need to apply as a General Visitor using The official UK website for online visa applications, for applicants not in the United Kingdom.
Once you have completed the web application, you will schedule a biometrics enrolment. It's the final step in the application.
Then you can approach the UAE visa facilitation service in Dubai for an appointment and ultimate submission of your application to the British Consulate General. The VFS will be your liaison during this part. They will inform you when the decision is reached and how to pick up your passport.
A transit visa is for those making a short stop enroute to other countries and would be inappropriate for your case. Applying for one would lead to a refusal and this would make matters worse. Also, applying for a transit visa on the grounds of France -> UK -> UAE would invite a pejorative refusal and is emphatically not recommended.