It's "legal", but it's confusing because if this is subnetted as Class B the network is 202.51.0.0 and is also that for class A.
Note that our pals at the Borg screwed this up once:
http://support.microsoft.com/kb/272617
As Maslik said, you should use private ip ranges inside your network. 10., 192.168, 172.16 to 172.31
I can't tell you how much money I've made over the years renumbering networks that didn't use private ip's to start with. It was extremely common even just 10 years ago because a lot of people just didn't know any better. Nowadays appliance routers usually default to a private range so I see less of it, but it still comes up now and then.