Although the tracks are the same gauge apart, and locos (and main line rolling stock) can run onto open track sections, such as the converted lines described above, they are unable to run on street running sections, because tram wheels are to a much smaller profile than main line, with narrower treads and flanges, as the groove on street running tram rail is much smaller. If you compare street running tram rail with what a main line railway needs at a level crossing, you will appreciate this. It would be hazardous to have the big gap needed for main line trains running longitudinally along streets; bicycle wheels etc would jam in it (as can be seen, for example, along Weymouth Quay!
On the old tramway system in Glasgow, which ran until 1962, the entire system had an oddball gauge of 4 feet 7 3/4 inches, three-quarters of an inch smaller than the main line gauge of 4 feet 8 1/2 inches. This was because they did have inter-running of main line goods wagons over the tramway to shipyards etc. They ran on the street tracks on normal profile tram rail, but with the wagons actually running on their flanges rather than on their normal treads. This wouldn't work for locomotives, so the tramway had their own small electric locomotives, which had wheels to tramway profile, to pull them.