If you are admin, you should have the magic moodle/site:doanything capability, which should let you see the course admin block even if you are student. Your scenario is one of the reasons that magic capability exists.
Yes, when I assign admin the student role in a course on my 1.9 test site, I can still see the course admin block.
Roles and permissions
No administration block for teachers
This discussion has been locked so you can no longer reply to it.